From 20e01da6fcb6ae08cfc02e28a195599f5762d8d6 Mon Sep 17 00:00:00 2001 From: "nsylvain@chromium.org" Date: Tue, 23 Sep 2008 04:20:18 +0000 Subject: Once again for a mysterious reason all sites are crashing in the distributed test at this location: chrome_23e0000!v8::internal::Builtins::Setup+0x2bb Revert this change because it seems to be the culprit. Review URL: http://codereview.chromium.org/4206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2475 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/rlz/rlz.cc | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'chrome/browser/rlz/rlz.cc') diff --git a/chrome/browser/rlz/rlz.cc b/chrome/browser/rlz/rlz.cc index 211e840..b319626 100644 --- a/chrome/browser/rlz/rlz.cc +++ b/chrome/browser/rlz/rlz.cc @@ -152,11 +152,7 @@ class DelayedInitTask : public Task { // For non-interactive tests we don't do the rest of the initialization. if (::GetEnvironmentVariableW(env_vars::kHeadless, NULL, 0)) return; - - std::wstring omnibox_rlz; - RLZTracker::GetAccessPointRlz(RLZTracker::CHROME_OMNIBOX, &omnibox_rlz); - - if (first_run_ || omnibox_rlz.empty()) { + if (first_run_) { // Record the installation of chrome. RLZTracker::RecordProductEvent(RLZTracker::CHROME, RLZTracker::CHROME_OMNIBOX, @@ -208,9 +204,9 @@ bool RLZTracker::InitRlz(int directory_key) { bool RLZTracker::InitRlzDelayed(int directory_key, bool first_run) { // Schedule the delayed init items. - const int kTwentySeconds = 20 * 1000; + const int kOneHundredSeconds = 100000; MessageLoop::current()->PostDelayedTask(FROM_HERE, - new DelayedInitTask(directory_key, first_run), kTwentySeconds); + new DelayedInitTask(directory_key, first_run), kOneHundredSeconds); return true; } -- cgit v1.1