Index: android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java |
diff --git a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java |
index 8c9cf82ecb994b8e312d2497055eb78c01abc4b9..d46f0a19cda1af61aca33d0dcd35de503412db8a 100644 |
--- a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java |
+++ b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java |
@@ -180,7 +180,8 @@ public class AwShellActivity extends Activity { |
mNextButton.setVisibility(hasFocus ? View.GONE : View.VISIBLE); |
mPrevButton.setVisibility(hasFocus ? View.GONE : View.VISIBLE); |
if (!hasFocus) { |
- mUrlTextView.setText(mAwTestContainerView.getContentViewCore().getUrl()); |
+ mUrlTextView.setText(mAwTestContainerView.getContentViewCore(). |
+ getWebContents().getUrl()); |
} |
} |
}); |