[FIX]ProcessPendingRestyles does extra work if there are no pending restyles

RESOLVED FIXED in mozilla1.9alpha1

Status

()

Core
Layout: Misc Code
P2
normal
RESOLVED FIXED
12 years ago
12 years ago

People

(Reporter: bz, Assigned: bz)

Tracking

(Blocks: 1 bug, {perf})

Trunk
mozilla1.9alpha1
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

If mPendingRestyles has no entries, we still end up allocating an array,
enumerating, etc, etc.  No need for that.
Keywords: perf
Priority: -- → P2
Target Milestone: --- → mozilla1.9alpha
Created attachment 198819 [details] [diff] [review]
Fix
Attachment #198819 - Flags: superreview?(dbaron)
Attachment #198819 - Flags: review?(dbaron)
Attachment #198819 - Flags: superreview?(dbaron)
Attachment #198819 - Flags: superreview+
Attachment #198819 - Flags: review?(dbaron)
Attachment #198819 - Flags: review+
Fixed
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.