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

Unified Diff: cc/test/layer_tree_json_parser_unittest.cc

Issue 1372253002: gfx: Make conversions from gfx::Point to PointF explicit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pointfconvert-gfx: . Created 5 years, 3 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
Index: cc/test/layer_tree_json_parser_unittest.cc
diff --git a/cc/test/layer_tree_json_parser_unittest.cc b/cc/test/layer_tree_json_parser_unittest.cc
index 4f97945e253a6bc8538174ffb5af27cadc182c1a..f1388c0f273d3feae2590741eb17615d03b698c6 100644
--- a/cc/test/layer_tree_json_parser_unittest.cc
+++ b/cc/test/layer_tree_json_parser_unittest.cc
@@ -78,7 +78,7 @@ TEST_F(LayerTreeJsonParserSanityCheck, Basic) {
parent->SetBounds(gfx::Size(50, 50));
child->SetBounds(gfx::Size(40, 40));
- parent->SetPosition(gfx::Point(25, 25));
+ parent->SetPosition(gfx::PointF(25.f, 25.f));
child->SetHaveWheelEventHandlers(true);
child->SetHaveScrollEventHandlers(true);

Powered by Google App Engine
This is Rietveld 408576698