diff options
Diffstat (limited to 'chrome/browser/chromeos/proxy_config_service_impl_unittest.cc')
-rw-r--r-- | chrome/browser/chromeos/proxy_config_service_impl_unittest.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/proxy_config_service_impl_unittest.cc b/chrome/browser/chromeos/proxy_config_service_impl_unittest.cc index 7ba6def..15a8327 100644 --- a/chrome/browser/chromeos/proxy_config_service_impl_unittest.cc +++ b/chrome/browser/chromeos/proxy_config_service_impl_unittest.cc @@ -224,12 +224,10 @@ class ProxyConfigServiceImplTest : public PlatformTest { ProxyConfigServiceImplTest() : ui_thread_(BrowserThread::UI, &message_loop_), io_thread_(BrowserThread::IO, &message_loop_) { - chromeos::CrosLibrary::Get()->GetTestApi()->SetUseStubImpl(); } virtual ~ProxyConfigServiceImplTest() { config_service_ = NULL; - chromeos::CrosLibrary::Get()->GetTestApi()->ResetUseStubImpl(); MessageLoop::current()->RunAllPending(); } @@ -311,6 +309,7 @@ class ProxyConfigServiceImplTest : public PlatformTest { } private: + ScopedStubCrosEnabler stub_cros_enabler_; MessageLoop message_loop_; BrowserThread ui_thread_; BrowserThread io_thread_; |