Index: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp |
index 952ee8dfc0e3a642b094e802fe8e28a02fc4b147..49b7e793f643451772a6c70e398a0136ed22e347 100644 |
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp |
@@ -520,6 +520,8 @@ bool Canvas2DLayerBridge::checkSurfaceValid() |
ASSERT(!m_destructionInProgress); |
if (m_destructionInProgress) |
return false; |
+ if (isHibernating()) |
+ return true; |
if (!m_layer) |
return true; |
if (!m_surface) |