| Index: chrome/browser/ui/views/aura/status_area_host_aura.cc
|
| diff --git a/chrome/browser/ui/views/aura/status_area_host_aura.cc b/chrome/browser/ui/views/aura/status_area_host_aura.cc
|
| index 1a0445635da322a99a00feffe975f3de36cd4276..985641f31213e0796bc91602a4c7c2f52fc10f75 100644
|
| --- a/chrome/browser/ui/views/aura/status_area_host_aura.cc
|
| +++ b/chrome/browser/ui/views/aura/status_area_host_aura.cc
|
| @@ -103,8 +103,10 @@ void StatusAreaHostAura::ExecuteStatusAreaCommand(
|
| const views::View* button_view, int command_id) {
|
| #if defined(OS_CHROMEOS)
|
| if (chromeos::StatusAreaViewChromeos::IsBrowserMode()) {
|
| - Browser* browser = BrowserList::FindBrowserWithProfile(
|
| - ProfileManager::GetDefaultProfile());
|
| + Profile* profile = ProfileManager::GetDefaultProfile();
|
| + Browser* browser = BrowserList::FindBrowserWithProfile(profile);
|
| + if (!browser)
|
| + browser = Browser::Create(profile);
|
| switch (command_id) {
|
| case StatusAreaButton::Delegate::SHOW_NETWORK_OPTIONS:
|
| browser->OpenInternetOptionsDialog();
|
|
|