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

Unified Diff: chrome/browser/chrome_browser_main_win.cc

Issue 19689006: Fix crash in Windows chrome with --uninstall flag. This was a regression from r210884. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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/chrome_browser_main_win.cc
===================================================================
--- chrome/browser/chrome_browser_main_win.cc (revision 212185)
+++ chrome/browser/chrome_browser_main_win.cc (working copy)
@@ -212,7 +212,7 @@
void ChromeBrowserMainPartsWin::PostMainMessageLoopRun() {
// Log the search engine chosen on first run. Do this at shutdown, after any
// changes are made from the first run bubble link, etc.
- if (do_first_run_tasks() && !profile()->IsOffTheRecord()) {
+ if (do_first_run_tasks() && profile() && !profile()->IsOffTheRecord()) {
TemplateURLService* url_service =
TemplateURLServiceFactory::GetForProfile(profile());
const TemplateURL* default_search_engine =
« 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