Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1115)

Unified Diff: third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h

Issue 2610723002: Unify SurfaceInfo (Closed)
Patch Set: Cleanup offscreen canvas Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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&);

Powered by Google App Engine
This is Rietveld 408576698