Bug 167790

Summary: Resource usage overlay should be notified when root layer is attached/detached
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bugs-noreply, kling, thorton
Priority: P2 Keywords: Gtk
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Carlos Garcia Campos
Reported 2017-02-03 05:25:49 PST
Since r211141 we properly destroy and create the overlay root layers when the root layer is attached/detached, but we leave the graphic layers in m_overlayGraphicsLayers alive. They should also be destroyed and created, and their children should e notified too. This is what causes that the resource usage overlay disappears when navigating to another page, and also the reason why it's not shown initially when starting the Mac MiniBrowser and the setting is enabled.
Attachments
Patch (14.99 KB, patch)
2017-02-03 05:34 PST, Carlos Garcia Campos
no flags
Carlos Garcia Campos
Comment 1 2017-02-03 05:34:59 PST
Carlos Garcia Campos
Comment 2 2017-02-05 22:53:32 PST
Comment on attachment 300524 [details] Patch This has been fixed in r211683 in a simpler way.
Carlos Garcia Campos
Comment 3 2017-02-05 22:54:08 PST
*** This bug has been marked as a duplicate of bug 167850 ***
Note You need to log in before you can comment on or make changes to this bug.