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

Unified Diff: ash/system/ime/tray_ime_chromeos_unittest.cc

Issue 1975533002: Change ui::Event::time_stamp from TimeDelta to TimeTicks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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: ash/system/ime/tray_ime_chromeos_unittest.cc
diff --git a/ash/system/ime/tray_ime_chromeos_unittest.cc b/ash/system/ime/tray_ime_chromeos_unittest.cc
index d9fb999bbaf69bef0398918cfdb2b9c95846a1e1..b673290750ee85343c55c8a430e27b0b1902a203 100644
--- a/ash/system/ime/tray_ime_chromeos_unittest.cc
+++ b/ash/system/ime/tray_ime_chromeos_unittest.cc
@@ -142,7 +142,7 @@ TEST_F(TrayIMETest, PerformActionOnDetailedView) {
test::VirtualKeyboardTestHelper::SuppressKeyboard();
EXPECT_FALSE(keyboard::IsKeyboardEnabled());
views::View* toggle = GetScrollChildView(0);
- ui::GestureEvent tap(0, 0, 0, base::TimeDelta(),
+ ui::GestureEvent tap(0, 0, 0, base::TimeTicks(),
ui::GestureEventDetails(ui::ET_GESTURE_TAP));
// Enable the keyboard.
toggle->OnGestureEvent(&tap);
@@ -151,7 +151,7 @@ TEST_F(TrayIMETest, PerformActionOnDetailedView) {
// With no IMEs the toggle should be the first child.
toggle = GetScrollChildView(0);
// Clicking again should disable the keyboard.
- tap = ui::GestureEvent(0, 0, 0, base::TimeDelta(),
+ tap = ui::GestureEvent(0, 0, 0, base::TimeTicks(),
ui::GestureEventDetails(ui::ET_GESTURE_TAP));
toggle->OnGestureEvent(&tap);
EXPECT_FALSE(keyboard::IsKeyboardEnabled());
« no previous file with comments | « ash/system/chromeos/rotation/tray_rotation_lock_unittest.cc ('k') | ash/system/overview/overview_button_tray_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698