Index: Source/WebCore/platform/graphics/chromium/cc/CCSingleThreadProxy.cpp |
=================================================================== |
--- Source/WebCore/platform/graphics/chromium/cc/CCSingleThreadProxy.cpp (revision 126622) |
+++ Source/WebCore/platform/graphics/chromium/cc/CCSingleThreadProxy.cpp (working copy) |
@@ -156,7 +156,8 @@ |
bool initialized; |
{ |
DebugScopedSetImplThread impl; |
- m_layerTreeHost->deleteContentsTexturesOnImplThread(m_layerTreeHostImpl->resourceProvider()); |
+ if (!m_layerTreeHostImpl->contentsTexturesPurged()) |
+ m_layerTreeHost->deleteContentsTexturesOnImplThread(m_layerTreeHostImpl->resourceProvider()); |
initialized = m_layerTreeHostImpl->initializeLayerRenderer(context.release(), UnthrottledUploader); |
if (initialized) { |
m_layerRendererCapabilitiesForMainThread = m_layerTreeHostImpl->layerRendererCapabilities(); |