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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/CommandLineTest.java

Issue 598363003: Fix CommandLine initialization for Chrome & WebView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test. Created 6 years, 3 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
« no previous file with comments | « no previous file | base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/javatests/src/org/chromium/android_webview/test/CommandLineTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/CommandLineTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/CommandLineTest.java
index 4582f643da4d8ca462e709012ae58a8a1b466184..500b7b08221f423a24122bf785ef696c35dc7854 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/CommandLineTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/CommandLineTest.java
@@ -8,6 +8,7 @@ import android.test.suitebuilder.annotation.SmallTest;
import org.chromium.android_webview.AwBrowserProcess;
import org.chromium.base.CommandLine;
+import org.chromium.base.library_loader.LibraryLoader;
import org.chromium.base.test.util.Feature;
/**
@@ -34,6 +35,7 @@ public class CommandLineTest extends AwTestBase {
// Setup Chrome.
AwBrowserProcess.loadLibrary();
+ LibraryLoader.switchCommandLineForWebView();
// Now we should have switched to a native backed command line:
cl = CommandLine.getInstance();
« no previous file with comments | « no previous file | base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698