| Index: chrome/browser/ui/constrained_window_tab_helper.cc
|
| diff --git a/chrome/browser/ui/constrained_window_tab_helper.cc b/chrome/browser/ui/constrained_window_tab_helper.cc
|
| index 3d8d103e002ae3b4024d11b053ad456fe086380c..cdb6478dbf5f04c73f78368de93600d0b5631abf 100644
|
| --- a/chrome/browser/ui/constrained_window_tab_helper.cc
|
| +++ b/chrome/browser/ui/constrained_window_tab_helper.cc
|
| @@ -32,7 +32,7 @@ void ConstrainedWindowTabHelper::AddConstrainedDialog(
|
| ConstrainedWindow* window) {
|
| child_windows_.push_back(window);
|
|
|
| - if (child_windows_.size() == 1) {
|
| + if (child_windows_.size() == 1 && window->GetCanShowConstrainedWindow()) {
|
| window->ShowConstrainedWindow();
|
| BlockTabContent(true);
|
| }
|
|
|