Call OnTitleChange after navigation/reload even if the title has not changed (issue #1441).

git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/2062@1920 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2014-11-20 18:01:57 +00:00
parent 22b01d97dd
commit 00bacc6df1
2 changed files with 0 additions and 9 deletions

View File

@ -2602,12 +2602,6 @@ void CefBrowserHostImpl::Observe(int type,
title = web_contents->GetTitle();
}
// Don't notify if the title hasn't changed.
if (title == title_)
return;
title_ = title;
if (client_.get()) {
CefRefPtr<CefDisplayHandler> handler = client_->GetDisplayHandler();
if (handler.get())

View File

@ -656,9 +656,6 @@ class CefBrowserHostImpl : public CefBrowserHost,
// True if a file chooser is currently pending.
bool file_chooser_pending_;
// Current title for the main frame. Only accessed on the UI thread.
base::string16 title_;
#if defined(USE_AURA)
// Widget hosting the web contents. It will be deleted automatically when the
// associated root window is destroyed.