Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4916)

Unified Diff: chrome/browser/ui/cocoa/first_run_dialog.mm

Issue 1832853003: DefaultBrowserWorker now fully supports opening the settings for Win10 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix mac compilation Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 f05c3bfdc478bf8a29829acef2f7550c5164d3e7..d87afd456b8205dbbd32a6bfe3392602b52c23c5 100644
--- a/chrome/browser/ui/cocoa/first_run_dialog.mm
+++ b/chrome/browser/ui/cocoa/first_run_dialog.mm
@@ -140,8 +140,7 @@ bool ShowFirstRunDialog(Profile* profile) {
ofType:@"nib"];
if ((self = [super initWithWindowNibPath:nibpath owner:self])) {
// Bound to the dialog checkboxes.
- makeDefaultBrowser_ = shell_integration::CanSetAsDefaultBrowser() !=
- shell_integration::SET_DEFAULT_NOT_ALLOWED;
+ makeDefaultBrowser_ = shell_integration::CanSetAsDefaultBrowser();
statsEnabled_ = StatsCheckboxDefault();
}
return self;

Powered by Google App Engine
This is Rietveld 408576698