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

Unified Diff: android_webview/native/aw_web_contents_delegate.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
« no previous file with comments | « android_webview/native/aw_settings.cc ('k') | android_webview/native/cookie_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_web_contents_delegate.cc
diff --git a/android_webview/native/aw_web_contents_delegate.cc b/android_webview/native/aw_web_contents_delegate.cc
index 1d22633c80a58b4502084ca41ece50e77d5cc780..e2a0b39d6ef8a5af560250418f4a1a2de8402567 100644
--- a/android_webview/native/aw_web_contents_delegate.cc
+++ b/android_webview/native/aw_web_contents_delegate.cc
@@ -252,11 +252,14 @@ bool AwWebContentsDelegate::IsFullscreenForTabOrPending(
return is_fullscreen_;
}
-
static void FilesSelectedInChooser(
- JNIEnv* env, jclass clazz,
- jint process_id, jint render_id, jint mode_flags,
- jobjectArray file_paths, jobjectArray display_names) {
+ JNIEnv* env,
+ const JavaParamRef<jclass>& clazz,
+ jint process_id,
+ jint render_id,
+ jint mode_flags,
+ const JavaParamRef<jobjectArray>& file_paths,
+ const JavaParamRef<jobjectArray>& display_names) {
content::RenderViewHost* rvh = content::RenderViewHost::FromID(process_id,
render_id);
if (!rvh)
« no previous file with comments | « android_webview/native/aw_settings.cc ('k') | android_webview/native/cookie_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698