Closed Bug 924478 Opened 11 years ago Closed 11 years ago

Initialize sPriorityResetRunnable only once

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 27

People

(Reporter: bnicholson, Assigned: bnicholson)

Details

Attachments

(1 file)

Kats pointed out that sPriorityResetRunnable could be initialized once instead of creating a new runnable every time.
Attachment #814457 - Flags: review?(bugmail.mozilla)
Comment on attachment 814457 [details] [diff] [review]
Initialize sPriorityResetRunnable only once

Review of attachment 814457 [details] [diff] [review]:
-----------------------------------------------------------------

This does more than what the bug was about (i.e. the sIsGeckoPriorityReduced guard) but LGTM.
Attachment #814457 - Flags: review?(bugmail.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/b88a35b83baa
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: