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

Unified Diff: ui/views/controls/native/native_view_host_aura_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: ui/views/controls/native/native_view_host_aura_unittest.cc
diff --git a/ui/views/controls/native/native_view_host_aura_unittest.cc b/ui/views/controls/native/native_view_host_aura_unittest.cc
index 16053ede1697e982f7d78b9974faf2b093273800..ffc48c862016d62884c5f7f468fe0cdbc6acbf5b 100644
--- a/ui/views/controls/native/native_view_host_aura_unittest.cc
+++ b/ui/views/controls/native/native_view_host_aura_unittest.cc
@@ -153,8 +153,8 @@ TEST_F(NativeViewHostAuraTest, CursorForNativeView) {
toplevel()->SetCursor(ui::kCursorHand);
child()->SetCursor(ui::kCursorWait);
- ui::MouseEvent move_event(ui::ET_MOUSE_MOVED, gfx::Point(0, 0),
- gfx::Point(0, 0), ui::EventTimeForNow(), 0, 0);
+ ui::MouseEvent move_event(ui::ET_MOUSE_MOVED, gfx::PointF(), gfx::PointF(),
+ ui::EventTimeForNow(), 0, 0);
EXPECT_EQ(ui::kCursorWait, host()->GetCursor(move_event).native_type());

Powered by Google App Engine
This is Rietveld 408576698