Closed
Bug 714711
Opened 13 years ago
Closed 13 years ago
A few unused local variables in PanZoomController.onScaleEnd
Categories
(Firefox for Android Graveyard :: General, defect, P3)
Tracking
(firefox11 fixed, firefox12 fixed, fennec11+)
RESOLVED
FIXED
Firefox 12
People
(Reporter: mfinkle, Assigned: mfinkle)
References
Details
Attachments
(1 file)
1.31 KB,
patch
|
kats
:
review+
wesj
:
feedback+
blassey
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
This variables are unused and I can't tell if we wanted to use them and forgot, or if we can safely remove the code: "o" : http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/ui/PanZoomController.java#980 "viewport" : http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/ui/PanZoomController.java#988 "pageRect" : http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/ui/PanZoomController.java#991
Comment 1•13 years ago
|
||
According to the blame, viewport and pageRect can be removed (accidentally left behind after other code was removed) but I'm not sure about "o" - wesj added that in his double-tap zoom support patch (bug 697701) but it was never used.
Assignee | ||
Comment 2•13 years ago
|
||
Removes the unused locals. "pageSize" was only used for "pageRect" so it could be removed too. If Wes needed "o" he can mention in feedback.
Assignee: bugmail.mozilla → mark.finkle
Attachment #585411 -
Flags: review?(bugmail.mozilla)
Attachment #585411 -
Flags: feedback?(wjohnston)
Updated•13 years ago
|
Attachment #585411 -
Flags: review?(bugmail.mozilla) → review+
Comment 3•13 years ago
|
||
Comment on attachment 585411 [details] [diff] [review] patch Review of attachment 585411 [details] [diff] [review]: ----------------------------------------------------------------- I ended up doing going through more revisions of double tap zoom than i wanted. I think that was just left over cruft that snuck through :(
Attachment #585411 -
Flags: feedback?(wjohnston) → feedback+
Assignee | ||
Comment 4•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/91e7e04c53b5
Comment 5•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/91e7e04c53b5
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 12
Assignee | ||
Comment 6•13 years ago
|
||
Comment on attachment 585411 [details] [diff] [review] patch [Approval Request Comment] Code cleanup. No risk
Attachment #585411 -
Flags: approval-mozilla-aurora?
Comment 7•13 years ago
|
||
Comment on attachment 585411 [details] [diff] [review] patch [Triage Comment] Doesn't seem as if this is needed for Aurora since it's only removing unused variables.
Attachment #585411 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora-
Updated•13 years ago
|
tracking-fennec: --- → 11+
Updated•13 years ago
|
status-firefox11:
--- → affected
status-firefox12:
--- → fixed
Assignee | ||
Updated•13 years ago
|
Comment 8•13 years ago
|
||
Comment on attachment 585411 [details] [diff] [review] patch needed due to dependencies
Attachment #585411 -
Flags: approval-mozilla-aurora- → approval-mozilla-aurora+
Assignee | ||
Comment 9•13 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/31ee4b6cedea
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•