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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java

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/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java b/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java
index 0e8df902288e0050d8ee54983c88c76db8b1a4d0..7873733080522f124fcb96b0439a753eed90b3bb 100644
--- a/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java
+++ b/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java
@@ -27,12 +27,12 @@ class InterfaceRegistrarImpl {
private static boolean sHasRegisteredRegistrars;
@CalledByNative
- static void createInterfaceRegistryForContext(int nativeHandle, Context applicationContext) {
+ static void createInterfaceRegistryForContext(int nativeHandle) {
ensureContentRegistrarsAreRegistered();
InterfaceRegistry registry = InterfaceRegistry.create(
CoreImpl.getInstance().acquireNativeHandle(nativeHandle).toMessagePipeHandle());
- InterfaceRegistrar.Registry.applyContextRegistrars(registry, applicationContext);
+ InterfaceRegistrar.Registry.applyContextRegistrars(registry);
}
@CalledByNative

Powered by Google App Engine
This is Rietveld 408576698