Index: chrome/browser/ui/cocoa/first_run_dialog.mm |
diff --git a/chrome/browser/ui/cocoa/first_run_dialog.mm b/chrome/browser/ui/cocoa/first_run_dialog.mm |
index 8ec5ce268762a2557a69e9468b0b4c00640b10bd..f5158bca26d22eccee83c318453df62cff2c601e 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::CHANGE_DEFAULT_NOT_ALLOWED; |
statsEnabled_ = StatsCheckboxDefault(); |
} |
return self; |