mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-21 14:40:49 +01:00
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:
parent
22b01d97dd
commit
00bacc6df1
@ -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())
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user