| Index: chrome/browser/renderer_host/resource_dispatcher_host_unittest.cc
|
| diff --git a/chrome/browser/renderer_host/resource_dispatcher_host_unittest.cc b/chrome/browser/renderer_host/resource_dispatcher_host_unittest.cc
|
| index 4feed717a511d2cb1cb57a75046577b76391dbad..7650d9cfba1e8574c3a5a39ba26cb97668917343 100644
|
| --- a/chrome/browser/renderer_host/resource_dispatcher_host_unittest.cc
|
| +++ b/chrome/browser/renderer_host/resource_dispatcher_host_unittest.cc
|
| @@ -148,6 +148,7 @@ class ResourceDispatcherHostTest : public testing::Test,
|
| public:
|
| ResourceDispatcherHostTest()
|
| : Receiver(ChildProcessInfo::RENDER_PROCESS, -1),
|
| + ui_thread_(ChromeThread::UI, &message_loop_),
|
| io_thread_(ChromeThread::IO, &message_loop_),
|
| old_factory_(NULL) {
|
| set_handle(base::GetCurrentProcessHandle());
|
| @@ -175,6 +176,7 @@ class ResourceDispatcherHostTest : public testing::Test,
|
| &ResourceDispatcherHostTest::Factory);
|
| EnsureTestSchemeIsAllowed();
|
| }
|
| +
|
| virtual void TearDown() {
|
| URLRequest::RegisterProtocolFactory("test", NULL);
|
| if (!scheme_.empty())
|
| @@ -245,6 +247,7 @@ class ResourceDispatcherHostTest : public testing::Test,
|
| }
|
|
|
| MessageLoopForIO message_loop_;
|
| + ChromeThread ui_thread_;
|
| ChromeThread io_thread_;
|
| ResourceDispatcherHost host_;
|
| ResourceIPCAccumulator accum_;
|
|
|