| 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..61c1a4551ac3d073ec59f12e06c81f5285829237 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
|
| @@ -28,6 +28,7 @@ import org.chromium.chrome.test.ChromeActivityTestCaseBase;
|
| import org.chromium.chrome.test.util.InfoBarTestAnimationListener;
|
| import org.chromium.chrome.test.util.InfoBarUtil;
|
| import org.chromium.chrome.test.util.browser.LocationSettingsTestUtil;
|
| +import org.chromium.content.browser.ChildProcessCreationParams;
|
| import org.chromium.content.browser.test.util.Criteria;
|
| import org.chromium.content.browser.test.util.CriteriaHelper;
|
| import org.chromium.content_public.browser.WebContents;
|
| @@ -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);
|
| }
|
| });
|
|
|