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

Unified Diff: chrome/browser/ui/views/ash/tab_scrubber_browsertest.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-event: mandol_line Created 5 years, 1 month 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: chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc
diff --git a/chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc b/chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc
index 7bb69dbdbf628b4039ced4ad4c684a5a6a689112..0b99e8d8f8e1fda1bc47063428d96d8a8c8e1b25 100644
--- a/chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc
+++ b/chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc
@@ -108,12 +108,8 @@ class TabScrubberTest : public InProcessBrowserTest,
float offset = GetTabCenter(browser, index) -
GetStartX(browser, active_index, direction);
- ui::ScrollEvent scroll_event(ui::ET_SCROLL,
- gfx::PointF(0, 0),
- ui::EventTimeForNow(),
- 0,
- offset, 0,
- offset, 0,
+ ui::ScrollEvent scroll_event(ui::ET_SCROLL, gfx::Point(0, 0),
+ ui::EventTimeForNow(), 0, offset, 0, offset, 0,
3);
event_generator.Dispatch(&scroll_event);
}

Powered by Google App Engine
This is Rietveld 408576698