summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/browser_main.cc1
-rw-r--r--chrome/browser/views/first_run_view.cc1
2 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index d7eeb53..4907ebb 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -596,7 +596,6 @@ int BrowserMain(const MainFunctionParams& parameters) {
if (is_first_run && !first_run_ui_bypass) {
if (!OpenFirstRunDialog(profile, &process_singleton)) {
// The user cancelled the first run dialog box, we should exit Chrome.
-
return ResultCodes::NORMAL_EXIT;
}
}
diff --git a/chrome/browser/views/first_run_view.cc b/chrome/browser/views/first_run_view.cc
index 00904e9..a80f7b9 100644
--- a/chrome/browser/views/first_run_view.cc
+++ b/chrome/browser/views/first_run_view.cc
@@ -198,6 +198,7 @@ bool FirstRunView::Cancel() {
// Notification from the customize dialog that the user accepted. Since all
// the work is done there we got nothing else to do.
void FirstRunView::CustomizeAccepted() {
+ accepted_ = true;
window()->Close();
}