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

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

Issue 772123002: [Android] Java Bridge: handle requests from Java Script on the background thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed more Sami's comments Created 6 years 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_view_core_impl.cc
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
index 69654ea294ee9d949181590a2a85c94db05c397c..3705355920a55d7a0b8e340d979242f06e7c31a0 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -248,9 +248,9 @@ ContentViewCoreImpl::ContentViewCoreImpl(
BuildUserAgentFromOSAndProduct(kLinuxInfoStr, product);
web_contents->SetUserAgentOverride(spoofed_ua);
- java_bridge_dispatcher_host_.reset(
+ java_bridge_dispatcher_host_ =
new GinJavaBridgeDispatcherHost(web_contents,
- java_bridge_retained_object_set));
+ java_bridge_retained_object_set);
InitWebContents();
}
« no previous file with comments | « content/browser/android/content_view_core_impl.h ('k') | content/browser/android/java/gin_java_bound_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698