Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index 4dda69d677d3fd1a817eebd5e2ddf0966229a6e0..97fbd0e377146ce6b1d75e9590051361f2fd7b55 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -1742,9 +1742,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() { |
// Init the RLZ library. This just binds the dll and schedules a task on the |
// file thread to be run sometime later. If this is the first run we record |
// the installation event. |
- PrefService* pref_service = profile_->GetPrefs(); |
- int ping_delay = first_run::IsChromeFirstRun() ? master_prefs_->ping_delay : |
- pref_service->GetInteger(first_run::GetPingDelayPrefName().c_str()); |
+ int ping_delay = profile_->GetPrefs()->GetInteger(prefs::kRlzPingDelay); |
// Negative ping delay means to send ping immediately after a first search is |
// recorded. |
rlz::RLZTracker::SetRlzDelegate( |