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

Unified Diff: android_webview/native/aw_message_port_service_impl.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_form_database.cc ('k') | android_webview/native/aw_quota_manager_bridge_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_message_port_service_impl.cc
diff --git a/android_webview/native/aw_message_port_service_impl.cc b/android_webview/native/aw_message_port_service_impl.cc
index 969842dc232a8a3bc63ab2411a44293aae23eca9..cbbe282973af48b0db7fd0b815a8663feeec2679 100644
--- a/android_webview/native/aw_message_port_service_impl.cc
+++ b/android_webview/native/aw_message_port_service_impl.cc
@@ -231,7 +231,7 @@ bool RegisterAwMessagePortService(JNIEnv* env) {
}
// static
-jlong InitAwMessagePortService(JNIEnv* env, jobject obj) {
+jlong InitAwMessagePortService(JNIEnv* env, const JavaParamRef<jobject>& obj) {
AwMessagePortServiceImpl* service = AwMessagePortServiceImpl::GetInstance();
service->Init(env, obj);
return reinterpret_cast<intptr_t>(service);
« no previous file with comments | « android_webview/native/aw_form_database.cc ('k') | android_webview/native/aw_quota_manager_bridge_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698