| Index: chrome/browser/ui/panels/panel_host.cc
|
| diff --git a/chrome/browser/ui/panels/panel_host.cc b/chrome/browser/ui/panels/panel_host.cc
|
| index 89c1863dd95b807c3d810ac585d2532fb17dbde6..9d8bbd3d9c8bc73847a6539448051d12a258c7ff 100644
|
| --- a/chrome/browser/ui/panels/panel_host.cc
|
| +++ b/chrome/browser/ui/panels/panel_host.cc
|
| @@ -160,8 +160,9 @@ void PanelHost::DeactivateContents(content::WebContents* contents) {
|
| panel_->Deactivate();
|
| }
|
|
|
| -void PanelHost::LoadingStateChanged(content::WebContents* source) {
|
| - bool is_loading = source->IsLoading();
|
| +void PanelHost::LoadingStateChanged(content::WebContents* source,
|
| + bool to_different_document) {
|
| + bool is_loading = source->IsLoading() && to_different_document;
|
| panel_->LoadingStateChanged(is_loading);
|
| }
|
|
|
|
|