Closed Bug 576330 Opened 14 years ago Closed 14 years ago

Minor code cleanup

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mfinkle, Assigned: mfinkle)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
* Remove left over "resizeAndPaint" reference
* Remove WINCE from front-end code
* fix a TAB

This patch does not remove all WINCE references in mobile-browser, just the ones in the front-end code itself.
Attachment #455491 - Flags: review?(21)
Comment on attachment 455491 [details] [diff] [review]
patch

>diff --git a/chrome/content/content.js b/chrome/content/content.js
>--- a/chrome/content/content.js
>+++ b/chrome/content/content.js
>@@ -484,17 +484,17 @@ Content.prototype = {
>         let element = elementFromPoint(x, y);
>         if (modifiers == Ci.nsIDOMNSEvent.CONTROL_MASK) {
>           let uri = Util.getHrefForElement(element);
>           if (uri)
>             sendAsyncMessage("Browser:OpenURI", { uri: uri });
>         } else if (!this._formAssistant.open(element)) {
>           this._sendMouseEvent("mouseup", element, x, y);
>         }
>-	break;
>+        break;
>       }

I thought to have seen some "tabs" too before the comments a few lines before.
Attachment #455491 - Flags: review?(21) → review+
Found the other TABs

pushed:
http://hg.mozilla.org/mobile-browser/rev/1dea022304bb
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
bugspam
Assignee: nobody → mark.finkle
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: