| Index: android_webview/javatests/src/org/chromium/android_webview/test/PopupWindowTest.java
|
| diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/PopupWindowTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/PopupWindowTest.java
|
| index 32575e6fd9920912651a258cc4b03d0cadaeef4e..80feedb1a750085faf22693de4fc5e034a2758f6 100644
|
| --- a/android_webview/javatests/src/org/chromium/android_webview/test/PopupWindowTest.java
|
| +++ b/android_webview/javatests/src/org/chromium/android_webview/test/PopupWindowTest.java
|
| @@ -127,7 +127,7 @@ public class PopupWindowTest extends AwTestBase {
|
| assertTrue(runTestOnUiThreadAndGetResult(new Callable<Boolean>() {
|
| @Override
|
| public Boolean call() throws Exception {
|
| - return popupContents.getContentViewCore().hasSelection();
|
| + return popupContents.getContentViewCore().getActionModeForTesting().hasSelection();
|
| }
|
| }));
|
|
|
| @@ -157,7 +157,7 @@ public class PopupWindowTest extends AwTestBase {
|
| getInstrumentation().runOnMainSync(new Runnable() {
|
| @Override
|
| public void run() {
|
| - cvc.hideSelectActionMode();
|
| + cvc.destroySelectActionMode();
|
| }
|
| });
|
| }
|
|
|