Index: Source/core/rendering/HitTestLocation.cpp |
diff --git a/Source/core/rendering/HitTestLocation.cpp b/Source/core/rendering/HitTestLocation.cpp |
index 20d4ba557e9185f6967834a71b006e5698fe8d99..249921aed5a36e160bf04f040ee9c6b28ecb7817 100644 |
--- a/Source/core/rendering/HitTestLocation.cpp |
+++ b/Source/core/rendering/HitTestLocation.cpp |
@@ -152,6 +152,11 @@ bool HitTestLocation::intersects(const RoundedRect& rect) const |
return rect.intersectsQuad(m_transformedRect); |
} |
+bool HitTestLocation::containsPoint(const FloatPoint& point) const |
+{ |
+ return m_transformedRect.containsPoint(point); |
+} |
+ |
IntRect HitTestLocation::rectForPoint(const LayoutPoint& point, unsigned topPadding, unsigned rightPadding, unsigned bottomPadding, unsigned leftPadding) |
{ |
IntPoint actualPoint(flooredIntPoint(point)); |