Chromium Code Reviews| Index: chrome/browser/chrome_browser_main.cc |
| diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
| index d8608c9aca69b5f95a749f87c222f169251249ac..5977a1d21bc2e6748f0b30239ccd3fe417abeca0 100644 |
| --- a/chrome/browser/chrome_browser_main.cc |
| +++ b/chrome/browser/chrome_browser_main.cc |
| @@ -1500,8 +1500,11 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() { |
| #if defined(OS_ANDROID) |
| chrome_variations::VariationsService* variations_service = |
| browser_process_->variations_service(); |
| - if (variations_service) |
| + if (variations_service) { |
| + if (profile_ && profile_->GetPrefs()) |
|
Alexei Svitkine (slow)
2014/02/10 22:12:48
Under what circumstances would these be NULL? If t
Mathieu
2014/02/10 22:41:34
Done. You're right, I don't see other code checkin
|
| + variations_service->set_policy_pref_service(profile_->GetPrefs()); |
| variations_service->StartRepeatedVariationsSeedFetch(); |
| + } |
| #else |
| // Most general initialization is behind us, but opening a |
| // tab and/or session restore and such is still to be done. |