Chromium Code Reviews| 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 6c8a1550804f99fdf8c333fda4058e6c05192116..330ee674d6262af2a6a603c3e8c974c275b74fb2 100644 |
| --- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
| +++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
| @@ -187,8 +187,10 @@ public: |
| void notifyListenersCanvasChanged(); |
| + // For Canvas HitRegions |
| bool isSupportedInteractiveCanvasFallback(const Element&); |
| std::pair<Element*, String> getControlAndIdIfHitRegionExists(const LayoutPoint&); |
| + String getIdFromControl(Element*); |
|
dtapuska
2016/04/05 15:57:28
Is there a requirement that Element be a ptr. Perh
zino
2016/04/06 11:08:20
In the current implementation, we are saving the c
dtapuska
2016/04/06 13:41:25
That doesn't preclude you from taking the address
zino
2016/04/06 16:25:38
Done.
But I used |const_cast| when calling getHit
|
| protected: |
| void didMoveToNewDocument(Document& oldDocument) override; |