Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: Source/modules/canvas2d/HitRegion.h

Issue 1259973002: Canvas2d: Remove unnecessary conversion in EventHitRegion. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/canvas2d/EventHitRegion.cpp ('k') | Source/modules/canvas2d/HitRegion.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/canvas2d/HitRegion.h
diff --git a/Source/modules/canvas2d/HitRegion.h b/Source/modules/canvas2d/HitRegion.h
index 1d0a030e290108560bcbe8bab3efc076a22f2261..b7cf1255129f8ae72070069ce6a46241b981f1dc 100644
--- a/Source/modules/canvas2d/HitRegion.h
+++ b/Source/modules/canvas2d/HitRegion.h
@@ -28,7 +28,6 @@ public:
void removePixels(const Path&);
- bool contains(const LayoutPoint&) const;
bool contains(const FloatPoint&) const;
const String& id() const { return m_id; }
@@ -63,7 +62,7 @@ public:
HitRegion* getHitRegionById(const String& id) const;
HitRegion* getHitRegionByControl(Element*) const;
- HitRegion* getHitRegionAtPoint(const LayoutPoint&) const;
+ HitRegion* getHitRegionAtPoint(const FloatPoint&) const;
unsigned getHitRegionsCount() const;
« no previous file with comments | « Source/modules/canvas2d/EventHitRegion.cpp ('k') | Source/modules/canvas2d/HitRegion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698