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

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

Issue 10836298: Fix crash for the toast (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run/try_chrome_dialog_view.cc
===================================================================
--- chrome/browser/first_run/try_chrome_dialog_view.cc (revision 149940)
+++ chrome/browser/first_run/try_chrome_dialog_view.cc (working copy)
@@ -335,8 +335,10 @@
NOTREACHED() << "Unknown radio button selected";
}
- if ((result_ == TRY_CHROME) && make_default_->checked())
- result_ = TRY_CHROME_AS_DEFAULT;
+ if (make_default_) {
sky 2012/08/16 23:11:45 combine into a single if.
+ if ((result_ == TRY_CHROME) && make_default_->checked())
+ result_ = TRY_CHROME_AS_DEFAULT;
+ }
popup_->Close();
MessageLoop::current()->Quit();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698