| Index: chrome/browser/ui/panels/panel.cc
|
| diff --git a/chrome/browser/ui/panels/panel.cc b/chrome/browser/ui/panels/panel.cc
|
| index 7ab728305e69b80f67a32c13d4c04a7357389ce6..ac66ad08bebca79dfbcb38f2a0fed9280467e081 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) {
|
|
|