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

Unified Diff: Source/core/page/TouchAdjustment.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/layout/svg/LayoutSVGText.h ('k') | Source/core/page/scrolling/ScrollingCoordinator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/TouchAdjustment.cpp
diff --git a/Source/core/page/TouchAdjustment.cpp b/Source/core/page/TouchAdjustment.cpp
index 2bf87509748d8ef5f8c7f0acc2d57de3c2af3044..a4b022c16c0f60741cdee89729209eb1b3ed5a14 100644
--- a/Source/core/page/TouchAdjustment.cpp
+++ b/Source/core/page/TouchAdjustment.cpp
@@ -222,8 +222,8 @@ static inline void appendZoomableSubtargets(Node* node, SubtargetGeometryList& s
ASSERT(layoutObject);
Vector<FloatQuad> quads;
- FloatRect borderBoxRect = layoutObject->borderBoxRect();
- FloatRect contentBoxRect = layoutObject->contentBoxRect();
+ FloatRect borderBoxRect(layoutObject->borderBoxRect());
+ FloatRect contentBoxRect(layoutObject->contentBoxRect());
quads.append(layoutObject->localToAbsoluteQuad(borderBoxRect));
if (borderBoxRect != contentBoxRect)
quads.append(layoutObject->localToAbsoluteQuad(contentBoxRect));
« no previous file with comments | « Source/core/layout/svg/LayoutSVGText.h ('k') | Source/core/page/scrolling/ScrollingCoordinator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698