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

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

Issue 2828353002: Android: Remove GetApplicationContext part 3 (Closed)
Patch Set: Fix android webview tests Created 3 years, 8 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/java_interfaces_impl.cc
diff --git a/content/browser/android/java_interfaces_impl.cc b/content/browser/android/java_interfaces_impl.cc
index 64ac6656e4cf15e3bd45ab99f436ba9cc1937424..8bfa589bad83306bc536d51a6c2c3ab64b0cc2ff 100644
--- a/content/browser/android/java_interfaces_impl.cc
+++ b/content/browser/android/java_interfaces_impl.cc
@@ -8,7 +8,6 @@
#include <utility>
-#include "base/android/context_utils.h"
#include "base/android/jni_android.h"
#include "base/memory/singleton.h"
#include "content/browser/frame_host/render_frame_host_impl.h"
@@ -28,8 +27,7 @@ class JavaInterfaceProviderHolder {
service_manager::mojom::InterfaceProviderPtr provider;
JNIEnv* env = base::android::AttachCurrentThread();
Java_InterfaceRegistrarImpl_createInterfaceRegistryForContext(
- env, mojo::MakeRequest(&provider).PassMessagePipe().release().value(),
- base::android::GetApplicationContext());
+ env, mojo::MakeRequest(&provider).PassMessagePipe().release().value());
interface_provider_.Bind(std::move(provider));
}
« no previous file with comments | « content/browser/android/composited_touch_handle_drawable.cc ('k') | content/browser/child_process_launcher_helper_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698