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

Unified Diff: chrome/browser/first_run/try_chrome_dialog_view.cc

Issue 10939010: Cleanup: avoid foo ? true : false, part 1. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 8 years, 3 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/first_run/try_chrome_dialog_view.cc
===================================================================
--- chrome/browser/first_run/try_chrome_dialog_view.cc (revision 159076)
+++ chrome/browser/first_run/try_chrome_dialog_view.cc (working copy)
@@ -200,7 +200,7 @@
// Decide if the don't bug me is a button or a radio button.
bool dont_bug_me_button =
- experiment.flags & BrowserDistribution::kDontBugMeAsButton ? true : false;
+ ((experiment.flags & BrowserDistribution::kDontBugMeAsButton) != 0);
// Optional third and fourth row views.
if (!dont_bug_me_button) {

Powered by Google App Engine
This is Rietveld 408576698