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

Unified Diff: Source/modules/canvas2d/CanvasRenderingContext2D.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 | « no previous file | Source/modules/canvas2d/CanvasRenderingContext2D.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/canvas2d/CanvasRenderingContext2D.h
diff --git a/Source/modules/canvas2d/CanvasRenderingContext2D.h b/Source/modules/canvas2d/CanvasRenderingContext2D.h
index 43b83e4439f368ca3d5640fcf7b05fa559ff33f6..4e18c758ceee4f06310429e26e90bc2d59fbebe7 100644
--- a/Source/modules/canvas2d/CanvasRenderingContext2D.h
+++ b/Source/modules/canvas2d/CanvasRenderingContext2D.h
@@ -210,7 +210,7 @@ public:
void addHitRegion(const HitRegionOptions&, ExceptionState&);
void removeHitRegion(const String& id);
void clearHitRegions();
- HitRegion* hitRegionAtPoint(const LayoutPoint&);
+ HitRegion* hitRegionAtPoint(const FloatPoint&);
unsigned hitRegionsCount() const override;
void loseContext(LostContextMode) override;
« no previous file with comments | « no previous file | Source/modules/canvas2d/CanvasRenderingContext2D.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698