| Index: chrome/browser/ui/panels/panel_manager.cc
|
| diff --git a/chrome/browser/ui/panels/panel_manager.cc b/chrome/browser/ui/panels/panel_manager.cc
|
| index d454d4f307464c8a9b18fd25627af88a8e4ac0e8..df7d4aadda69ec4c467d82a7cc120c1e8a9ee9c9 100644
|
| --- a/chrome/browser/ui/panels/panel_manager.cc
|
| +++ b/chrome/browser/ui/panels/panel_manager.cc
|
| @@ -286,13 +286,8 @@ PanelCollection* PanelManager::GetCollectionForNewPanel(
|
| const gfx::Rect& bounds,
|
| CreateMode mode,
|
| PanelCollection::PositioningMask* positioning_mask) {
|
| - if (mode == CREATE_AS_DOCKED) {
|
| - // Delay layout refreshes in case multiple panels are created within
|
| - // a short time of one another or the focus changes shortly after panel
|
| - // is created to avoid excessive screen redraws.
|
| - *positioning_mask = PanelCollection::DELAY_LAYOUT_REFRESH;
|
| + if (mode == CREATE_AS_DOCKED)
|
| return docked_collection_.get();
|
| - }
|
|
|
| DCHECK_EQ(CREATE_AS_DETACHED, mode);
|
| *positioning_mask = PanelCollection::DEFAULT_POSITION;
|
|
|