Index: Source/core/layout/HitTestLocation.cpp |
diff --git a/Source/core/layout/HitTestLocation.cpp b/Source/core/layout/HitTestLocation.cpp |
index fd37f2de430119602396189090ad599dcfc75ad1..8fdbfe14a3a5531cbc1e11a98243ba0cd2aa1172 100644 |
--- a/Source/core/layout/HitTestLocation.cpp |
+++ b/Source/core/layout/HitTestLocation.cpp |
@@ -136,7 +136,7 @@ bool HitTestLocation::intersectsRect(const RectType& rect, const RectType& bound |
return true; |
// Otherwise we need to do a slower quad based intersection test. |
- return m_transformedRect.intersectsRect(rect); |
+ return m_transformedRect.intersectsRect(FloatRect(rect)); |
} |
bool HitTestLocation::intersects(const LayoutRect& rect) const |