Closed Bug 572282 Opened 10 years ago Closed 10 years ago

Reuse main window layer tree to paint child windows

Categories

(Core :: Layout, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: roc, Assigned: roc)

References

Details

Attachments

(1 file)

Attached patch fixSplinter Review
This is especially useful on Mac, since otherwise plugins can be drawn twice (once in the main window, once in the plugin window).

The comment I'm removing is incorrect. Because we pass our own rendering context into nsLayoutUtils::PaintFrame, we will draw correctly into that rendering context. See the comment in nsLayoutUtils.h.
Attachment #451464 - Flags: review?(matspal)
Attachment #451464 - Flags: review?(matspal) → review+
Whiteboard: [needs landing]
http://hg.mozilla.org/mozilla-central/rev/71ee65c11f0b
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [needs landing]
You need to log in before you can comment on or make changes to this bug.