Closed Bug 846355 Opened 12 years ago Closed 10 years ago

Reduce number of ImmutableViewportMetrics objects created

Categories

(Firefox for Android Graveyard :: Toolbar, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: kats, Unassigned)

Details

ImmutableViewportMetrics has a few functions that return a new instance. These functions should check to see if the new instance would be the same as the current instance, and return "this" instead in those cases. e.g. if ivm.offsetViewportBy(0, 0) is called it can just return "this"
With APZ we should be able to get rid if IVM entirely.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Resolution: INCOMPLETE → WONTFIX
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.