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

Unified Diff: chrome/browser/android/ntp/content_suggestions_notification_helper.cc

Issue 2678263003: Pass notification deadline timestamp as a jlong (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/ntp/content_suggestions_notification_helper.cc
diff --git a/chrome/browser/android/ntp/content_suggestions_notification_helper.cc b/chrome/browser/android/ntp/content_suggestions_notification_helper.cc
index fe1e5b10220b8588df45d301e08e9c7a6cd67cc9..4b2c0825fb5c359f08fade8cc2877b9cd0d37577 100644
--- a/chrome/browser/android/ntp/content_suggestions_notification_helper.cc
+++ b/chrome/browser/android/ntp/content_suggestions_notification_helper.cc
@@ -52,9 +52,9 @@ bool ContentSuggestionsNotificationHelper::SendNotification(
if (skimage.empty())
return false;
- jint timeout_at_millis = timeout_at.ToJavaTime();
+ jlong timeout_at_millis = timeout_at.ToJavaTime();
if (timeout_at == base::Time::Max()) {
- timeout_at_millis = std::numeric_limits<jint>::max();
+ timeout_at_millis = std::numeric_limits<jlong>::max();
}
if (Java_ContentSuggestionsNotificationHelper_showNotification(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698