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

Unified Diff: Source/core/layout/HitTestLocation.cpp

Issue 1303413004: Convert some call sites to use explicit LayoutRect->FloatRect conversion. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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/core/inspector/InspectorTraceEvents.cpp ('k') | Source/core/layout/LayoutBlock.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/inspector/InspectorTraceEvents.cpp ('k') | Source/core/layout/LayoutBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698