summaryrefslogtreecommitdiffstats
path: root/content/shell/shell.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/shell.cc')
-rw-r--r--content/shell/shell.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/shell/shell.cc b/content/shell/shell.cc
index 0fadcf8..93f13bf 100644
--- a/content/shell/shell.cc
+++ b/content/shell/shell.cc
@@ -306,7 +306,7 @@ void Shell::WebContentsCreated(WebContents* source_contents,
}
void Shell::DidNavigateMainFramePostCommit(WebContents* web_contents) {
- PlatformSetAddressBarURL(web_contents->GetURL());
+ PlatformSetAddressBarURL(web_contents->GetLastCommittedURL());
}
JavaScriptDialogManager* Shell::GetJavaScriptDialogManager() {