From 2d06f559b7475b5cd0a2f5bf974f8f330943ebda Mon Sep 17 00:00:00 2001 From: "jrg@chromium.org" Date: Wed, 17 Jun 2009 21:36:46 +0000 Subject: Fix die-on-launch. Review URL: http://codereview.chromium.org/126295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18657 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/browser_main.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chrome/browser/browser_main.cc') diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index a8cf018..4eb094f 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -392,10 +392,13 @@ int BrowserMain(const MainFunctionParams& parameters) { // method at present. Profile* profile = NULL; OpenFirstRunDialog(profile, &process_singleton); + +#if defined(GOOGLE_CHROME_BUILD) // If user cancelled the first run dialog box, the first run sentinel file // didn't get created and we should exit Chrome. if (FirstRun::IsChromeFirstRun()) return ResultCodes::NORMAL_EXIT; +#endif } #endif // OS_POSIX -- cgit v1.1