Index: third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
index 1c72248b08640e274dd43730b87f6a8ede270bc6..4254473d78b0a93db3cddd47806794d87ed08b6b 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
@@ -199,8 +199,7 @@ public: |
String getIdFromControl(const Element*); |
// For OffscreenCanvas that controls this html canvas element |
- CanvasSurfaceLayerBridge* surfaceLayerBridge() const { return m_surfaceLayerBridge.get(); } |
- void createSurfaceLayerBridge(); |
+ CanvasSurfaceLayerBridge* getSurfaceLayerBridge(); |
protected: |
void didMoveToNewDocument(Document& oldDocument) override; |