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

Unified Diff: content/browser/time_zone_monitor_android.cc

Issue 1489453003: jni: Pass method parameters as JavaParamRef in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: content/browser/time_zone_monitor_android.cc
diff --git a/content/browser/time_zone_monitor_android.cc b/content/browser/time_zone_monitor_android.cc
index 8018cf74df033dbf732ed78e86aaef9937218043..4eb777bfa3d7dc2f3b17cf10a79c4ae08e21339d 100644
--- a/content/browser/time_zone_monitor_android.cc
+++ b/content/browser/time_zone_monitor_android.cc
@@ -26,8 +26,9 @@ bool TimeZoneMonitorAndroid::Register(JNIEnv* env) {
return RegisterNativesImpl(env);
}
-void TimeZoneMonitorAndroid::TimeZoneChangedFromJava(JNIEnv* env,
- jobject caller) {
+void TimeZoneMonitorAndroid::TimeZoneChangedFromJava(
+ JNIEnv* env,
+ const JavaParamRef<jobject>& caller) {
NotifyRenderers();
}

Powered by Google App Engine
This is Rietveld 408576698