From 86dc25f56d7b1b379faedfc215f22f0fba3d5db6 Mon Sep 17 00:00:00 2001 From: "sky@google.com" Date: Fri, 23 Jan 2009 16:05:58 +0000 Subject: Decrements FieldTrialList::constructor_count_ in the destructor. I'm going to run ui tests in process and call BrowserMain multiple times. That means FieldTrialList's constructor is run multiple times. Without this decrement, the constructor isn't happy. BUG=none TEST=none Review URL: http://codereview.chromium.org/18535 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8554 0039d316-1c4b-4281-b951-d872f2087c98 --- base/field_trial_unittest.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'base/field_trial_unittest.cc') diff --git a/base/field_trial_unittest.cc b/base/field_trial_unittest.cc index 3d8c0e2..f7be7e0 100644 --- a/base/field_trial_unittest.cc +++ b/base/field_trial_unittest.cc @@ -12,7 +12,6 @@ class FieldTrialTest : public testing::Test { public: FieldTrialTest() : trial_list_() { } - ~FieldTrialTest() { FieldTrialList::ResetConstructorCountForTestingOnly(); } private: FieldTrialList trial_list_; -- cgit v1.1