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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java

Issue 2706933003: webapk: Avoid overwriting default CreationParams
Patch Set: rebase 461342 Created 3 years, 9 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: chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java
index 2fd48a11ac1f5d82eaa4b0148dea123981fd7f69..7dfddeeee786b81d59acb54202e8187d963ef50e 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java
@@ -13,6 +13,7 @@ import android.test.UiThreadTest;
import org.chromium.base.CommandLine;
import org.chromium.base.ContextUtils;
import org.chromium.base.ThreadUtils;
+import org.chromium.base.process_launcher.ChildProcessCreationParams;
import org.chromium.base.test.util.AdvancedMockContext;
import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.base.test.util.DisabledTest;
@@ -475,7 +476,8 @@ public class InfoBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
ThreadUtils.runOnUiThread(new Runnable() {
@Override
public void run() {
- WebContents newContents = WebContentsFactory.createWebContents(false, false);
+ WebContents newContents = WebContentsFactory.createWebContents(
+ ChildProcessCreationParams.DEFAULT_ID, false, false);
getActivity().getActivityTab().swapWebContents(newContents, false, false);
}
});

Powered by Google App Engine
This is Rietveld 408576698