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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/media/remote/RecordCastAction.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/java/src/org/chromium/chrome/browser/media/remote/RecordCastAction.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/media/remote/RecordCastAction.java b/chrome/android/java/src/org/chromium/chrome/browser/media/remote/RecordCastAction.java
index 36c81ed6d838ca418fca2e562407d374302b0eea..3ead86d693fe492bb389a15bf4c1458e4d858a54 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/media/remote/RecordCastAction.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/media/remote/RecordCastAction.java
@@ -63,9 +63,9 @@ public class RecordCastAction {
* @param videoLengthMs the total length of the video in milliseconds
* @param timeRemainingMs the remaining time in the video in milliseconds
*/
- public static void castEndedTimeRemaining(int videoLengthMs, int timeRemainingMs) {
+ public static void castEndedTimeRemaining(long videoLengthMs, long timeRemainingMs) {
if (LibraryLoader.isInitialized()) {
- nativeRecordCastEndedTimeRemaining(videoLengthMs, timeRemainingMs);
+ nativeRecordCastEndedTimeRemaining((int) videoLengthMs, (int) timeRemainingMs);
}
}

Powered by Google App Engine
This is Rietveld 408576698