Index: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h |
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h |
index b1df36e9ee47acf7441c013f1d178ff28f2932e0..f6477ffe7a401224596b03f0a02c54d75dd4b951 100644 |
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h |
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h |
@@ -55,6 +55,7 @@ class FontMetrics; |
class HitRegion; |
class HitRegionOptions; |
class HitRegionManager; |
+class HitTestCanvasResult; |
class Path2D; |
class SVGMatrixTearOff; |
class TextMetrics; |
@@ -134,7 +135,7 @@ public: |
void willProcessTask() override { } |
void styleDidChange(const ComputedStyle* oldStyle, const ComputedStyle& newStyle) override; |
- std::pair<Element*, String> getControlAndIdIfHitRegionExists(const LayoutPoint& location) override; |
+ HitTestCanvasResult* getControlAndIdIfHitRegionExists(const LayoutPoint& location) override; |
String getIdFromControl(const Element*) override; |
// SVGResourceClient implementation |