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

Unified Diff: content/public/test/android/javatests/src/org/chromium/content/browser/test/NativeLibraryTestBase.java

Issue 897683003: Know the process shared library loaded in (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix webview compile error Created 5 years, 11 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/test/android/javatests/src/org/chromium/content/browser/test/NativeLibraryTestBase.java
diff --git a/content/public/test/android/javatests/src/org/chromium/content/browser/test/NativeLibraryTestBase.java b/content/public/test/android/javatests/src/org/chromium/content/browser/test/NativeLibraryTestBase.java
index b45e8bd6115dae3a470ef742f0943cf950eee981..0cfa057a6db6a2a81d472c4a9b73294fa6be11ad 100644
--- a/content/public/test/android/javatests/src/org/chromium/content/browser/test/NativeLibraryTestBase.java
+++ b/content/public/test/android/javatests/src/org/chromium/content/browser/test/NativeLibraryTestBase.java
@@ -54,14 +54,14 @@ public class NativeLibraryTestBase extends InstrumentationTestCase {
private void nativeInitialization(boolean initBrowserProcess) {
if (initBrowserProcess) {
try {
- BrowserStartupController.get(getInstrumentation().getTargetContext())
- .startBrowserProcessesSync(false);
+ BrowserStartupController.get(getInstrumentation().getTargetContext(),
+ LibraryLoader.BROWSER).startBrowserProcessesSync(false);
} catch (ProcessInitException e) {
throw new Error(e);
}
} else {
try {
- LibraryLoader.ensureInitialized();
+ LibraryLoader.get(LibraryLoader.BROWSER).ensureInitialized();
} catch (ProcessInitException e) {
throw new Error(e);
}

Powered by Google App Engine
This is Rietveld 408576698