summaryrefslogtreecommitdiffstats
path: root/net/base/run_all_unittests.cc
diff options
context:
space:
mode:
authordarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-27 04:58:51 +0000
committerdarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-27 04:58:51 +0000
commitb1d1c87e0639f237d9d19a4f3bc599a00121b89f (patch)
tree31412abf6ee463d1bd6ba743530479343a759659 /net/base/run_all_unittests.cc
parent6ebe3fc0530639459b70413724db71f734c99422 (diff)
downloadchromium_src-b1d1c87e0639f237d9d19a4f3bc599a00121b89f.zip
chromium_src-b1d1c87e0639f237d9d19a4f3bc599a00121b89f.tar.gz
chromium_src-b1d1c87e0639f237d9d19a4f3bc599a00121b89f.tar.bz2
Fix the net_perftests to work again.
Since only one test needed a MessageLoop, I decided to only give that single test a MessageLoop. I used a MessageLoopForIO (subclass of MessageLoop) for future use when the disk cache leverages MessageLoopForIO for asynchronous IO. TBR=rvargas git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1428 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/run_all_unittests.cc')
-rw-r--r--net/base/run_all_unittests.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/run_all_unittests.cc b/net/base/run_all_unittests.cc
index a1bae81..f5c1419b 100644
--- a/net/base/run_all_unittests.cc
+++ b/net/base/run_all_unittests.cc
@@ -41,7 +41,7 @@ class NetTestSuite : public TestSuite {
message_loop_.reset(new MessageLoopForIO());
}
- virtual void CleanUp() {
+ virtual void Shutdown() {
// We want to destroy this here before the TestSuite continues to tear down
// the environment.
message_loop_.reset();