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

Unified Diff: Source/WebCore/platform/graphics/chromium/ContentLayerChromium.cpp

Issue 7522010: Merge 91823 - [chromium] REGRESSION(90963): Content layers are not redrawn after losing the compo... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 5 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
« no previous file with comments | « Source/WebCore/platform/graphics/chromium/ContentLayerChromium.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/graphics/chromium/ContentLayerChromium.cpp
===================================================================
--- Source/WebCore/platform/graphics/chromium/ContentLayerChromium.cpp (revision 91885)
+++ Source/WebCore/platform/graphics/chromium/ContentLayerChromium.cpp (working copy)
@@ -85,6 +85,12 @@
cleanupResources();
}
+void ContentLayerChromium::cleanupResources()
+{
+ m_textureUpdater.clear();
+ TiledLayerChromium::cleanupResources();
+}
+
void ContentLayerChromium::paintContentsIfDirty()
{
ASSERT(drawsContent());
« no previous file with comments | « Source/WebCore/platform/graphics/chromium/ContentLayerChromium.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698