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

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1918 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2014-11-20 18:00:43 +00:00
parent 1dbb979792
commit baa54fdadf
2 changed files with 0 additions and 9 deletions

View File

@ -2618,12 +2618,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

@ -644,9 +644,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.