Closed Bug 1310900 Opened 8 years ago Closed 8 years ago

Make ScrollFrameHelper::GetScrolledRect skip the hard work in the simple case

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla52
Tracking Status
firefox52 --- fixed

People

(Reporter: mstange, Assigned: mstange)

References

(Blocks 1 open bug)

Details

(Keywords: perf)

Attachments

(1 file)

Before this patch, GetScrolledRect is 12% of bug 1306052, after this patch, it's about 1%. I'm hoping that this will also help with bug 1293031.
Comment on attachment 8801969 [details] Bug 1310900 - Speed up ScrollFrameHelper::GetScrolledRect for the case where there is no overflow. https://reviewboard.mozilla.org/r/86542/#review85586
Attachment #8801969 - Flags: review?(matt.woodrow) → review+
Pushed by mstange@themasta.com: https://hg.mozilla.org/integration/autoland/rev/0f64a7feb4eb Speed up ScrollFrameHelper::GetScrolledRect for the case where there is no overflow. r=mattwoodrow
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: