summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/interstitial_page.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/interstitial_page.cc')
-rw-r--r--chrome/browser/tab_contents/interstitial_page.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/tab_contents/interstitial_page.cc b/chrome/browser/tab_contents/interstitial_page.cc
index 024f250..3a6b7c6 100644
--- a/chrome/browser/tab_contents/interstitial_page.cc
+++ b/chrome/browser/tab_contents/interstitial_page.cc
@@ -242,7 +242,7 @@ void InterstitialPage::Hide() {
NavigationEntry* entry = tab_->controller().GetActiveEntry();
if (!new_navigation_ && should_revert_tab_title_) {
entry->set_title(WideToUTF16Hack(original_tab_title_));
- tab_->NotifyNavigationStateChanged(TabContents::INVALIDATE_TAB);
+ tab_->NotifyNavigationStateChanged(TabContents::INVALIDATE_TITLE);
}
delete this;
}
@@ -369,7 +369,7 @@ void InterstitialPage::UpdateTitle(RenderViewHost* render_view_host,
should_revert_tab_title_ = true;
}
entry->set_title(WideToUTF16Hack(title));
- tab_->NotifyNavigationStateChanged(TabContents::INVALIDATE_TAB);
+ tab_->NotifyNavigationStateChanged(TabContents::INVALIDATE_TITLE);
}
void InterstitialPage::DomOperationResponse(const std::string& json_string,