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 d6f413b18f3fc9de81c825da7bc780f84329d7b6..a36a95aff7563c69c284bc13d98b7a9f99fa71e7 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
@@ -57,6 +57,7 @@ class CanvasContextCreationAttributes; |
class CanvasRenderingContext; |
class CanvasRenderingContextFactory; |
class GraphicsContext; |
+class HitTestCanvasResult; |
class HTMLCanvasElement; |
class Image; |
class ImageBitmapOptions; |
@@ -200,7 +201,7 @@ public: |
// For Canvas HitRegions |
bool isSupportedInteractiveCanvasFallback(const Element&); |
- std::pair<Element*, String> getControlAndIdIfHitRegionExists(const LayoutPoint&); |
+ HitTestCanvasResult* getControlAndIdIfHitRegionExists(const LayoutPoint&); |
String getIdFromControl(const Element*); |
// For OffscreenCanvas that controls this html canvas element |