Index: chrome/browser/browser_init.cc |
diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc |
index a5e1706708670d5e162ea13f322f64ce6abde991..9111f473a26aa9221f3143f21ab73997a933b4d7 100644 |
--- a/chrome/browser/browser_init.cc |
+++ b/chrome/browser/browser_init.cc |
@@ -579,7 +579,7 @@ bool BrowserInit::LaunchWithProfile::OpenApplicationWindow(Profile* profile) { |
// TODO(rafaelw): Do something reasonable here. Pop up a warning panel? |
// Open an URL to the gallery page of the extension id? |
if (!app_id.empty()) |
- return Browser::OpenApplication(profile, app_id); |
+ return Browser::OpenApplication(profile, app_id) != NULL; |
if (url_string.empty()) |
return false; |
@@ -595,7 +595,7 @@ bool BrowserInit::LaunchWithProfile::OpenApplicationWindow(Profile* profile) { |
ChildProcessSecurityPolicy::GetInstance(); |
if (policy->IsWebSafeScheme(url.scheme()) || |
url.SchemeIs(chrome::kFileScheme)) { |
- Browser::OpenApplicationWindow(profile, NULL, url, false); |
+ Browser::OpenApplicationWindow(profile, url); |
return true; |
} |
} |