| 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 9cdf2c773cc4840caaa53769858e4b9e4142d745..8a4c4e7d4d85691c7079a5003403eedf80462b1c 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| @@ -947,6 +947,8 @@ void Canvas2DLayerBridge::willProcessTask()
|
|
|
| PassRefPtr<SkImage> Canvas2DLayerBridge::newImageSnapshot(AccelerationHint hint, SnapshotReason)
|
| {
|
| + if (isHibernating())
|
| + return m_hibernationImage;
|
| if (!checkSurfaceValid())
|
| return nullptr;
|
| if (!getOrCreateSurface(hint))
|
|
|