Closed Bug 1492398 Opened 7 years ago Closed 7 years ago

Suppress CompositorBridgeParent::RecvAdoptChild()

Categories

(Core :: Graphics: WebRender, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(1 file)

Suppress CompositorBridgeParent::RecvAdoptChild() when WebRenderBridgeParent is created by CrossProcessCompositorBridgeParent::AllocPWebRenderBridgeParent(). In current gecko, CompositorBridgeParent::RecvAdoptChild() was always called just after WebRenderBridgeParent creation. It is not good.
Assignee: nobody → sotaro.ikeda.g
Priority: -- → P3
RecvAdoptChild() is triggered by RenderFrameParent::AttachLayerManager(). The AttachLayerManager() is called by nsFrameLoader::ShowRemoteFrame() and RenderFrameParent::OwnerContentChanged(). The ShowRemoteFrame() is always called when Tab is created.
Attachment #9010514 - Attachment description: patch - Adopt child handling if no update → patch - Suppress adopt child handling if no update
Attachment #9010514 - Flags: review?(matt.woodrow)
Attachment #9010514 - Flags: review?(matt.woodrow) → review+
Pushed by sikeda@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/18165dc84c1c Suppress CompositorBridgeParent::RecvAdoptChild() r=mattwoodrow
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: