| Index: chrome/browser/chrome_browser_main_win.cc
|
| diff --git a/chrome/browser/chrome_browser_main_win.cc b/chrome/browser/chrome_browser_main_win.cc
|
| index a2e3008e9096472a10846400a1f4b47b738aca10..cc7b6b6ea6ec28b19b64adf3fd2f4b615cd879fe 100644
|
| --- a/chrome/browser/chrome_browser_main_win.cc
|
| +++ b/chrome/browser/chrome_browser_main_win.cc
|
| @@ -211,7 +211,8 @@ int ChromeBrowserMainPartsWin::PreCreateThreads() {
|
| 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() && !profile()->IsOffTheRecord()) {
|
| + if (first_run::IsChromeFirstRun() && profile() &&
|
| + !profile()->IsOffTheRecord()) {
|
| TemplateURLService* url_service =
|
| TemplateURLServiceFactory::GetForProfile(profile());
|
| const TemplateURL* default_search_engine =
|
|
|