summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_init.cc
diff options
context:
space:
mode:
authorerikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-28 21:21:53 +0000
committererikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-28 21:21:53 +0000
commitbbadaa787f4ec8a7365e499a13bf14aef3a16a06 (patch)
tree1dacfa8d358227743fa92384de27e09aeaeb4783 /chrome/browser/browser_init.cc
parent5cec0eb314bb4936e29d9138d259a4706aeacf4f (diff)
downloadchromium_src-bbadaa787f4ec8a7365e499a13bf14aef3a16a06.zip
chromium_src-bbadaa787f4ec8a7365e499a13bf14aef3a16a06.tar.gz
chromium_src-bbadaa787f4ec8a7365e499a13bf14aef3a16a06.tar.bz2
fullscreen window app launch container
BUG=42447 TEST=none Review URL: http://codereview.chromium.org/1730013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45862 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_init.cc')
-rw-r--r--chrome/browser/browser_init.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc
index 8da58f6..93a5ba5 100644
--- a/chrome/browser/browser_init.cc
+++ b/chrome/browser/browser_init.cc
@@ -583,7 +583,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;
@@ -599,7 +599,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;
}
}