mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-03 12:37:36 +01:00
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:
parent
1dbb979792
commit
baa54fdadf
@ -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())
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user