diff options
Diffstat (limited to 'chrome/browser/native_ui_contents.cc')
-rw-r--r-- | chrome/browser/native_ui_contents.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/native_ui_contents.cc b/chrome/browser/native_ui_contents.cc index e9965dd..67b1186 100644 --- a/chrome/browser/native_ui_contents.cc +++ b/chrome/browser/native_ui_contents.cc @@ -241,7 +241,7 @@ void NativeUIContents::SetPageState(PageState* page_state) { state_->GetByteRepresentation(&rep); ne->SetContentState(rep); // This is not a WebContents, so we use a NULL SiteInstance. - ctrl->SyncSessionWithEntryByPageID(type(), NULL, ne->GetPageID()); + ctrl->NotifyEntryChangedByPageID(type(), NULL, ne->GetPageID()); } } } @@ -294,7 +294,7 @@ bool NativeUIContents::Navigate(const NavigationEntry& entry, bool reload) { const int32 page_id = new_entry->GetPageID(); DidNavigateToEntry(new_entry); // This is not a WebContents, so we use a NULL SiteInstance. - controller()->SyncSessionWithEntryByPageID(type(), NULL, page_id); + controller()->NotifyEntryChangedByPageID(type(), NULL, page_id); return true; } |