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

Unified Diff: android_webview/native/aw_message_port_service_impl.cc

Issue 2295693004: Pass JavaRef to Java methods in android_webview. (Closed)
Patch Set: Created 4 years, 4 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_contents_statics.cc ('k') | android_webview/native/aw_pdf_exporter.h » ('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 28365302968a340fcde4459056bd79ec3dd7b869..bc55c23bb74386ff764ca033a575f2e2d045af6c 100644
--- a/android_webview/native/aw_message_port_service_impl.cc
+++ b/android_webview/native/aw_message_port_service_impl.cc
@@ -215,7 +215,7 @@ void AwMessagePortServiceImpl::OnMessageChannelCreated(
if (obj.is_null())
return;
Java_AwMessagePortService_onMessageChannelCreated(env, obj, *port1, *port2,
- ports->obj());
+ *ports);
}
// Adds a new port to the message port service.
« no previous file with comments | « android_webview/native/aw_contents_statics.cc ('k') | android_webview/native/aw_pdf_exporter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698