Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h |
| diff --git a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h |
| index 89a473ae56313d53a6f932df8edd0c6650feda3e..74e0da967b51a282cf9402f3ce1865c5967c365d 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h |
| +++ b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h |
| @@ -22,6 +22,7 @@ class SurfaceInfo; |
| namespace blink { |
| class WebLayer; |
| +class WebLayerTreeView; |
| class PLATFORM_EXPORT CanvasSurfaceLayerBridgeObserver { |
| public: |
| @@ -34,7 +35,8 @@ class PLATFORM_EXPORT CanvasSurfaceLayerBridgeObserver { |
| class PLATFORM_EXPORT CanvasSurfaceLayerBridge |
| : NON_EXPORTED_BASE(public mojom::blink::OffscreenCanvasSurfaceClient) { |
| public: |
| - explicit CanvasSurfaceLayerBridge(CanvasSurfaceLayerBridgeObserver*); |
| + explicit CanvasSurfaceLayerBridge(CanvasSurfaceLayerBridgeObserver*, |
| + WebLayerTreeView*); |
| ~CanvasSurfaceLayerBridge(); |
| void createSolidColorLayer(); |
| WebLayer* getWebLayer() const { return m_webLayer.get(); } |
| @@ -60,6 +62,7 @@ class PLATFORM_EXPORT CanvasSurfaceLayerBridge |
| cc::FrameSinkId m_frameSinkId; |
|
Fady Samuel
2017/01/19 04:05:43
const?
xlai (Olivia)
2017/01/19 16:43:56
Done.
|
| cc::SurfaceId m_currentSurfaceId; |
| + cc::FrameSinkId m_parentFrameSinkId; |
|
Fady Samuel
2017/01/19 04:05:43
const?
xlai (Olivia)
2017/01/19 16:43:56
Done.
|
| }; |
| } // namespace blink |