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

Unified Diff: content/browser/android/content_video_view.cc

Issue 1312153003: jni_generator: Pass object parameters as JavaParamRef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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: content/browser/android/content_video_view.cc
diff --git a/content/browser/android/content_video_view.cc b/content/browser/android/content_video_view.cc
index ef5369e80e4a01426d3a4147afe5e9783dd6e811..8a9eb4298b10848f5ef4681a1de12d339c415a08 100644
--- a/content/browser/android/content_video_view.cc
+++ b/content/browser/android/content_video_view.cc
@@ -31,8 +31,9 @@ ContentVideoView* g_content_video_view = NULL;
} // namespace
-static ScopedJavaLocalRef<jobject> GetSingletonJavaContentVideoView(JNIEnv* env,
- jclass) {
+static ScopedJavaLocalRef<jobject> GetSingletonJavaContentVideoView(
+ JNIEnv* env,
+ const JavaParamRef<jclass>&) {
if (g_content_video_view)
return g_content_video_view->GetJavaObject(env);
else
« no previous file with comments | « content/browser/android/content_readback_handler.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698