Index: android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java |
diff --git a/android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java b/android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java |
index 5bc5ed20db83fbd55e62eb8c2593276e57d6b097..5bdfe8145cf01872add0c3d64f5a949416843a50 100644 |
--- a/android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java |
+++ b/android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java |
@@ -43,7 +43,8 @@ public abstract class AwBrowserProcess { |
* Note: it is up to the caller to ensure this is only called once. |
*/ |
public static void loadLibrary() { |
- PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX); |
+ Context appContext = ContextUtils.getApplicationContext(); |
+ PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX, appContext); |
try { |
LibraryLoader libraryLoader = LibraryLoader.get(LibraryProcessType.PROCESS_WEBVIEW); |
libraryLoader.loadNow(); |