| Index: content/browser/site_instance_impl_unittest.cc
|
| ===================================================================
|
| --- content/browser/site_instance_impl_unittest.cc (revision 192622)
|
| +++ content/browser/site_instance_impl_unittest.cc (working copy)
|
| @@ -92,8 +92,7 @@
|
| }
|
|
|
| virtual void SetUp() {
|
| - old_browser_client_ = GetContentClient()->browser();
|
| - GetContentClient()->set_browser_for_testing(&browser_client_);
|
| + old_browser_client_ = SetBrowserClientForTesting(&browser_client_);
|
| url_util::AddStandardScheme(kPrivilegedScheme);
|
| url_util::AddStandardScheme(chrome::kChromeUIScheme);
|
| }
|
| @@ -102,7 +101,7 @@
|
| // Ensure that no RenderProcessHosts are left over after the tests.
|
| EXPECT_TRUE(RenderProcessHost::AllHostsIterator().IsAtEnd());
|
|
|
| - GetContentClient()->set_browser_for_testing(old_browser_client_);
|
| + SetBrowserClientForTesting(old_browser_client_);
|
|
|
| // http://crbug.com/143565 found SiteInstanceTest leaking an
|
| // AppCacheDatabase. This happens because some part of the test indirectly
|
|
|