| Index: chrome/browser/ui/panels/panel.cc
|
| diff --git a/chrome/browser/ui/panels/panel.cc b/chrome/browser/ui/panels/panel.cc
|
| index 56dd5d6f1d7156436965d61f387e2e83360e82a9..29b883e99a06dd677e938ab7e2bb8fe03c348883 100644
|
| --- a/chrome/browser/ui/panels/panel.cc
|
| +++ b/chrome/browser/ui/panels/panel.cc
|
| @@ -261,7 +261,8 @@ panel::Resizability Panel::CanResizeByMouse() const {
|
| }
|
|
|
| void Panel::SetPanelBounds(const gfx::Rect& bounds) {
|
| - native_panel_->SetPanelBounds(bounds);
|
| + if (bounds != native_panel_->GetPanelBounds())
|
| + native_panel_->SetPanelBounds(bounds);
|
| }
|
|
|
| void Panel::SetPanelBoundsInstantly(const gfx::Rect& bounds) {
|
|
|