Index: content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java |
diff --git a/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java b/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java |
index 4e5edbca81fffec0b3632c2188ebb6fd406fdc2c..cf7101429991b2b478f46919c13a981f1a98c121 100644 |
--- a/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java |
+++ b/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java |
@@ -126,7 +126,7 @@ public class ContentShellActivity extends Activity { |
super.onSaveInstanceState(outState); |
ContentViewCore contentViewCore = getActiveContentViewCore(); |
if (contentViewCore != null) { |
- outState.putString(ACTIVE_SHELL_URL_KEY, contentViewCore.getUrl()); |
+ outState.putString(ACTIVE_SHELL_URL_KEY, contentViewCore.getWebContents().getUrl()); |
} |
mWindowAndroid.saveInstanceState(outState); |