Index: third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp |
index 9366ebfe73b95b24ce071896b444d2144c4c7587..650aff0f764455e5ae227944669cf1b7757885d3 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp |
@@ -1349,14 +1349,14 @@ String HTMLCanvasElement::getIdFromControl(const Element* element) { |
return String(); |
} |
-bool HTMLCanvasElement::createSurfaceLayer() { |
+bool HTMLCanvasElement::createSurfaceLayer(int canvasId) { |
DCHECK(!m_surfaceLayerBridge); |
mojom::blink::OffscreenCanvasSurfacePtr service; |
Platform::current()->interfaceProvider()->getInterface( |
mojo::GetProxy(&service)); |
m_surfaceLayerBridge = |
wrapUnique(new CanvasSurfaceLayerBridge(std::move(service))); |
- return m_surfaceLayerBridge->createSurfaceLayer(this->width(), |
+ return m_surfaceLayerBridge->createSurfaceLayer(canvasId, this->width(), |
this->height()); |
} |