| Index: chrome/android/testshell/javatests/src/org/chromium/chrome/testshell/ChromiumTestShellUrlTest.java
|
| diff --git a/chrome/android/testshell/javatests/src/org/chromium/chrome/testshell/ChromiumTestShellUrlTest.java b/chrome/android/testshell/javatests/src/org/chromium/chrome/testshell/ChromiumTestShellUrlTest.java
|
| index 937b0f2450371d5a7908bb12479863068e53c291..52ce89ec9b2f0f02e05cb1f658a2d1c39681ce3f 100644
|
| --- a/chrome/android/testshell/javatests/src/org/chromium/chrome/testshell/ChromiumTestShellUrlTest.java
|
| +++ b/chrome/android/testshell/javatests/src/org/chromium/chrome/testshell/ChromiumTestShellUrlTest.java
|
| @@ -11,6 +11,7 @@ import org.chromium.base.test.util.Feature;
|
| import org.chromium.content.browser.ContentView;
|
| import org.chromium.content.browser.ContentViewCore;
|
| import org.chromium.content.browser.ContentViewRenderView;
|
| +import org.chromium.ui.base.WindowAndroid;
|
|
|
| import java.util.concurrent.atomic.AtomicBoolean;
|
| import java.util.concurrent.atomic.AtomicReference;
|
| @@ -98,7 +99,8 @@ public class ChromiumTestShellUrlTest extends ChromiumTestShellTestBase {
|
| @Override
|
| public void run() {
|
| ContentViewRenderView contentViewRenderView =
|
| - new ContentViewRenderView(getInstrumentation().getTargetContext());
|
| + new ContentViewRenderView(getInstrumentation().getTargetContext(),
|
| + activity.getWindowAndroid());
|
| contentViewRenderView.setCurrentContentView(activity.getActiveContentView());
|
| }
|
| });
|
|
|