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

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

Issue 2479563005: Create manager to track OffscreenCanvasSurfaceImpl instances (Closed)
Patch Set: Created 4 years, 1 month 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 de6d5c82e871e0d7d510089d5f3fa163c9938213..971c7bae6e95825184985e229ad9f2384129a2b8 100644
--- a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h
+++ b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.h
@@ -24,7 +24,7 @@ class PLATFORM_EXPORT CanvasSurfaceLayerBridge {
public:
explicit CanvasSurfaceLayerBridge(mojom::blink::OffscreenCanvasSurfacePtr);
~CanvasSurfaceLayerBridge();
- bool createSurfaceLayer(int canvasWidth, int canvasHeight);
+ bool createSurfaceLayer(int canvasId, int canvasWidth, int canvasHeight);
WebLayer* getWebLayer() const { return m_webLayer.get(); }
const cc::SurfaceId& getSurfaceId() const { return m_surfaceId; }

Powered by Google App Engine
This is Rietveld 408576698