| Index: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
|
| index 7c8ce5b9507bac3f9f26466f00b47c12515195c8..108e35fadd06d7f39814b2ec6933d7f9c365ca5a 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
|
| @@ -113,6 +113,7 @@ public:
|
| void flushGpu();
|
| void prepareSurfaceForPaintingIfNeeded();
|
| bool isHidden() { return m_isHidden; }
|
| + OpacityMode opacityMode() { return m_opacityMode; }
|
|
|
| void beginDestruction();
|
| void hibernate();
|
| @@ -193,6 +194,8 @@ private:
|
| void unregisterTaskObserver();
|
| void reportSurfaceCreationFailure();
|
|
|
| + void disableAcceleration();
|
| +
|
| // WebThread::TaskOberver implementation
|
| void willProcessTask() override;
|
| void didProcessTask() override;
|
| @@ -257,6 +260,7 @@ private:
|
| bool m_hibernationScheduled = false;
|
|
|
| friend class Canvas2DLayerBridgeTest;
|
| + friend class CanvasRenderingContext2DTest;
|
|
|
| uint32_t m_lastImageId;
|
|
|
|
|