Closed Bug 1215356 Opened 9 years ago Closed 9 years ago

when setting a display port, schedule paint on the display root frame, not the root frame

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed
b2g-v2.5 --- fixed

People

(Reporter: tnikkel, Assigned: tnikkel)

Details

Attachments

(1 file)

      No description provided.
Attached patch patchSplinter Review
Noticed this while looking at bug 1208780. Don't know if it's causing any problems, but we should do this properly anyways.
Attachment #8674620 - Flags: review?(matt.woodrow)
Comment on attachment 8674620 [details] [diff] [review]
patch

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

nsIFrame::SchedulePaint already calls nsLayoutUtils::GetDisplayRootFrame, so we can just call frame->SchedulePaint().
Attachment #8674620 - Flags: review?(matt.woodrow) → review+
Oh yes of course.
https://hg.mozilla.org/mozilla-central/rev/10bbda706f25
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: