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 76364621f6abc6b7bb13f6f9389f94fcaf404c0a..89a473ae56313d53a6f932df8edd0c6650feda3e 100644 |
--- a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h |
+++ b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h |
@@ -16,6 +16,7 @@ |
namespace cc { |
class Layer; |
+class SurfaceInfo; |
} // namespace cc |
namespace blink { |
@@ -40,10 +41,7 @@ class PLATFORM_EXPORT CanvasSurfaceLayerBridge |
const cc::FrameSinkId& getFrameSinkId() const { return m_frameSinkId; } |
// Implementation of mojom::blink::OffscreenCanvasSurfaceClient |
- void OnSurfaceCreated(const cc::SurfaceId&, |
- int32_t width, |
- int32_t height, |
- float deviceScaleFactor) override; |
+ void OnSurfaceCreated(const cc::SurfaceInfo&) override; |
void satisfyCallback(const cc::SurfaceSequence&); |
void requireCallback(const cc::SurfaceId&, const cc::SurfaceSequence&); |