Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Unified Diff: Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h

Issue 7749028: Compositor leaks all resources if tab is closed and it's not the last in the process (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h
===================================================================
--- Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h (revision 93831)
+++ Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h (working copy)
@@ -168,6 +168,7 @@
protected:
virtual PassOwnPtr<CCLayerTreeHostImplProxy> createLayerTreeHostImplProxy();
+ void clearRootCCLayerImpl();
private:
typedef Vector<RefPtr<CCLayerImpl> > LayerList;
typedef HashMap<GraphicsContext3D*, int> ChildContextMap;
@@ -207,6 +208,8 @@
bool initializeSharedObjects();
void cleanupSharedObjects();
+ void clearRenderSurfacesOnCCLayerImplRecursive(CCLayerImpl*);
+
void setLayerRendererRecursive(LayerChromium*);
IntRect m_viewportVisibleRect;

Powered by Google App Engine
This is Rietveld 408576698