| Index: chrome/browser/ui/browser_navigator.cc
|
| diff --git a/chrome/browser/ui/browser_navigator.cc b/chrome/browser/ui/browser_navigator.cc
|
| index 3c082d8f3cc861c835e248abb210b035a474ac42..4b25ab0f0f867e3c48c1fc936aa3f439c9f719cc 100644
|
| --- a/chrome/browser/ui/browser_navigator.cc
|
| +++ b/chrome/browser/ui/browser_navigator.cc
|
| @@ -161,9 +161,8 @@ Browser* GetBrowserForDisposition(browser::NavigateParams* params) {
|
| // Make a new popup window. Coerce app-style if |params->browser| or the
|
| // |source| represents an app.
|
| Browser::Type type = Browser::TYPE_POPUP;
|
| - if ((params->browser && params->browser->type() == Browser::TYPE_APP) ||
|
| - (params->source_contents &&
|
| - params->source_contents->is_app())) {
|
| + if ((params->browser && (params->browser->type() & Browser::TYPE_APP)) ||
|
| + (params->source_contents && params->source_contents->is_app())) {
|
| type = Browser::TYPE_APP_POPUP;
|
| }
|
| if (profile) {
|
|
|