| Index: chrome/browser/ui/panels/panel.cc
|
| diff --git a/chrome/browser/ui/panels/panel.cc b/chrome/browser/ui/panels/panel.cc
|
| index cfa55644861120edded65a918d7cefd09a85cc06..433b2a7f263ff3bd2914f3f683dca99112704209 100644
|
| --- a/chrome/browser/ui/panels/panel.cc
|
| +++ b/chrome/browser/ui/panels/panel.cc
|
| @@ -260,7 +260,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) {
|
|
|