Index: content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeTestBase.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeTestBase.java b/content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeTestBase.java |
index 5a4bc7fc4662005e918a3d29b50eccd6e8cc103e..ced4984cb8680900546152d0fee8e8ecd8ddbfbd 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeTestBase.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeTestBase.java |
@@ -43,7 +43,7 @@ public class JavaBridgeTestBase extends ContentViewTestBase { |
// converted to a string and used as the new document for the |
// frame. We don't want this behaviour, so wrap the script in |
// an anonymous function. |
- getContentViewCore().getWebContents().getNavigationController().loadUrl( |
+ getWebContents().getNavigationController().loadUrl( |
new LoadUrlParams("javascript:(function() { " + script + " })()")); |
} |
}); |