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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/media/remote/CastNotificationTest.java

Issue 1561663002: Use long for times and timestamps throught Java cast code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits Created 4 years, 11 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: chrome/android/javatests/src/org/chromium/chrome/browser/media/remote/CastNotificationTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/media/remote/CastNotificationTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/media/remote/CastNotificationTest.java
index 6d2210d67893f2bf77b24d29afdd2770af0de4cb..c4284fe1350230c4cebf367041b5eeadccb91714 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/media/remote/CastNotificationTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/media/remote/CastNotificationTest.java
@@ -50,7 +50,7 @@ public class CastNotificationTest extends CastTestBase {
// The new position is sent in a separate message, so we have to wait a bit before
// fetching it.
Thread.sleep(STABILIZE_TIME_MS);
- int position = getRemotePositionMs();
+ long position = getRemotePositionMs();
// Position should not change while paused
Thread.sleep(PAUSE_TEST_TIME_MS);
assertEquals("Pause didn't stop playback", position, getRemotePositionMs());

Powered by Google App Engine
This is Rietveld 408576698