Index: base/android/java/src/org/chromium/base/ContextUtils.java |
diff --git a/base/android/java/src/org/chromium/base/ContextUtils.java b/base/android/java/src/org/chromium/base/ContextUtils.java |
index 448eff9b6a9f33ebf3ef4c3eecaa91711bd7d0a1..390d5dc6895f5dfdf09b111adfb89d32101bf658 100644 |
--- a/base/android/java/src/org/chromium/base/ContextUtils.java |
+++ b/base/android/java/src/org/chromium/base/ContextUtils.java |
@@ -61,16 +61,6 @@ public class ContextUtils { |
initJavaSideApplicationContext(appContext); |
} |
- /** |
- * Initialize the native Android application context to be the same as the java counter-part. |
- */ |
- public static void initApplicationContextForNative() { |
- if (sApplicationContext == null) { |
- throw new RuntimeException("Cannot have native global application context be null."); |
- } |
- nativeInitNativeSideApplicationContext(sApplicationContext); |
- } |
- |
/** |
* Only called by the static holder class and tests. |
* |
@@ -110,6 +100,4 @@ public class ContextUtils { |
} |
sApplicationContext = appContext; |
} |
- |
- private static native void nativeInitNativeSideApplicationContext(Context appContext); |
} |