Index: third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h |
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h |
index 71688ee1707b1959b8d9617fcd78a2356527e184..ce3eaeab4bd6f71086d0f2523f98e3bbc505dab5 100644 |
--- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h |
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h |
@@ -108,6 +108,7 @@ public: |
virtual void setFont(const String&) { } |
virtual void styleDidChange(const ComputedStyle* oldStyle, const ComputedStyle& newStyle) { } |
virtual std::pair<Element*, String> getControlAndIdIfHitRegionExists(const LayoutPoint& location) { ASSERT_NOT_REACHED(); return std::make_pair(nullptr, String()); } |
+ virtual String getIdFromControl(const Element* element) { return String(); } |
// WebGL-specific interface |
virtual bool is3d() const { return false; } |