| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index 8c71cbf8becf8aeea41f4564b3d6e8673d457dd4..176c29ad44f7cf8e502ae948c2625fd7dad81953 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -506,6 +506,10 @@ Browser* Browser::CreateForApp(Type type,
|
| #endif // TOOLKIT_GTK
|
| #endif // !OS_CHROMEOS || USE_AURA
|
|
|
| +#if defined(USE_AURA)
|
| + type = TYPE_APP;
|
| +#endif
|
| +
|
| CreateParams params(type, profile);
|
| params.app_name = app_name;
|
| params.initial_bounds = window_bounds;
|
| @@ -591,7 +595,7 @@ bool Browser::HasFindBarController() const {
|
| }
|
|
|
| bool Browser::is_app() const {
|
| - return !app_name_.empty();
|
| + return type_ == TYPE_APP || !app_name_.empty();
|
| }
|
|
|
| bool Browser::is_devtools() const {
|
|
|