aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_browser_ui_views_first__run__dialog.cc
blob: c9743fc43d8990cc0c5b5f65d72b6608c1cfedd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- chrome/browser/ui/views/first_run_dialog.cc.orig	2016-05-11 19:02:16 UTC
+++ chrome/browser/ui/views/first_run_dialog.cc
@@ -114,12 +114,16 @@ views::View* FirstRunDialog::CreateExtra
 bool FirstRunDialog::Accept() {
   GetWidget()->Hide();
 
+#if !defined(OS_BSD)
   if (report_crashes_ && report_crashes_->checked()) {
     if (GoogleUpdateSettings::SetCollectStatsConsent(true))
       breakpad::InitCrashReporter(std::string());
-  } else {
+  } else
+#else
+  {
     GoogleUpdateSettings::SetCollectStatsConsent(false);
   }
+#endif
 
   if (make_default_ && make_default_->checked())
     shell_integration::SetAsDefaultBrowser();