summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_contents.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/web_contents.cc')
-rw-r--r--chrome/browser/web_contents.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/web_contents.cc b/chrome/browser/web_contents.cc
index d9d7f1c..1774c1d 100644
--- a/chrome/browser/web_contents.cc
+++ b/chrome/browser/web_contents.cc
@@ -1513,9 +1513,8 @@ void WebContents::DidNavigateAnyFramePostCommit(
RenderViewHost* render_view_host,
const ViewHostMsg_FrameNavigate_Params& params) {
// Have the controller save the current session.
- controller()->SyncSessionWithEntryByPageID(type(),
- site_instance(),
- params.page_id);
+ controller()->NotifyEntryChangedByPageID(type(), site_instance(),
+ params.page_id);
BroadcastProvisionalLoadCommit(render_view_host, params);
}
@@ -1680,7 +1679,7 @@ void WebContents::UpdateState(RenderViewHost* rvh,
// Notify everybody of the changes (only when the current page changed).
if (changed_flags && entry == controller()->GetActiveEntry())
NotifyNavigationStateChanged(changed_flags);
- controller()->SyncSessionWithEntryByPageID(type(), site_instance(), page_id);
+ controller()->NotifyEntryChangedByPageID(type(), site_instance(), page_id);
}
void WebContents::UpdateTitle(RenderViewHost* rvh,