summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/first_run_dialog.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/cocoa/first_run_dialog.mm')
-rw-r--r--chrome/browser/ui/cocoa/first_run_dialog.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/ui/cocoa/first_run_dialog.mm b/chrome/browser/ui/cocoa/first_run_dialog.mm
index 8ec5ce2..9df99fa 100644
--- a/chrome/browser/ui/cocoa/first_run_dialog.mm
+++ b/chrome/browser/ui/cocoa/first_run_dialog.mm
@@ -159,7 +159,8 @@ void ShowFirstRunDialog(Profile* profile) {
ofType:@"nib"];
if ((self = [super initWithWindowNibPath:nibpath owner:self])) {
// Bound to the dialog checkboxes.
- makeDefaultBrowser_ = ShellIntegration::CanSetAsDefaultBrowser();
+ makeDefaultBrowser_ = ShellIntegration::CanSetAsDefaultBrowser() !=
+ ShellIntegration::SET_DEFAULT_NOT_ALLOWED;
statsEnabled_ = StatsCheckboxDefault();
}
return self;