summaryrefslogtreecommitdiffstats
path: root/base/field_trial_unittest.cc
diff options
context:
space:
mode:
authorsky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-23 16:05:58 +0000
committersky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-23 16:05:58 +0000
commit86dc25f56d7b1b379faedfc215f22f0fba3d5db6 (patch)
tree7ea34ddda03319963cb4aecd96d9473d36ee5262 /base/field_trial_unittest.cc
parent2eb517b30fa34102fa6f00bafc6c8d1948eace91 (diff)
downloadchromium_src-86dc25f56d7b1b379faedfc215f22f0fba3d5db6.zip
chromium_src-86dc25f56d7b1b379faedfc215f22f0fba3d5db6.tar.gz
chromium_src-86dc25f56d7b1b379faedfc215f22f0fba3d5db6.tar.bz2
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
Diffstat (limited to 'base/field_trial_unittest.cc')
-rw-r--r--base/field_trial_unittest.cc1
1 files changed, 0 insertions, 1 deletions
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_;