Chromium Code Reviews| 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 1a07d60bf2f9541e325c16518637e58e3af9379c..2f43ce5fd1ace4e5d8b6e2c57bce13de5d442376 100644 |
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h |
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h |
| @@ -109,6 +109,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) { ASSERT_NOT_REACHED(); return String(); } |
|
Justin Novosad
2016/04/06 18:18:26
I think the code would be cleaner if you removed t
zino
2016/04/07 02:08:16
Done.
But I'm a little bit confused.
The followin
|
| // WebGL-specific interface |
| virtual bool is3d() const { return false; } |