Closed Bug 924478 Opened 7 years ago Closed 7 years ago

Initialize sPriorityResetRunnable only once

Categories

(Firefox for Android :: General, defect)

All
Android
defect
Not set
normal

Tracking

()

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: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
You need to log in before you can comment on or make changes to this bug.