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

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

Issue 815933006: Change all uses of the RoundedRect class to use FloatRoundedRect instead. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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/rendering/HitTestLocation.h ('k') | Source/core/rendering/RenderBlock.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/HitTestLocation.cpp
diff --git a/Source/core/rendering/HitTestLocation.cpp b/Source/core/rendering/HitTestLocation.cpp
index c8df8a4514df7d05d82f1a88fb30088b94631175..0986eff3e4d81ecfc8ab6c61b742c90bdd7a7a73 100644
--- a/Source/core/rendering/HitTestLocation.cpp
+++ b/Source/core/rendering/HitTestLocation.cpp
@@ -22,6 +22,8 @@
#include "config.h"
#include "core/rendering/HitTestLocation.h"
+#include "platform/geometry/FloatRoundedRect.h"
+
namespace blink {
HitTestLocation::HitTestLocation()
@@ -147,7 +149,7 @@ bool HitTestLocation::intersects(const FloatRect& rect) const
return intersectsRect(rect);
}
-bool HitTestLocation::intersects(const RoundedRect& rect) const
+bool HitTestLocation::intersects(const FloatRoundedRect& rect) const
{
return rect.intersectsQuad(m_transformedRect);
}
« no previous file with comments | « Source/core/rendering/HitTestLocation.h ('k') | Source/core/rendering/RenderBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698