| Index: content/browser/child_process_security_policy_unittest.cc
|
| ===================================================================
|
| --- content/browser/child_process_security_policy_unittest.cc (revision 192091)
|
| +++ content/browser/child_process_security_policy_unittest.cc (working copy)
|
| @@ -55,8 +55,7 @@
|
| }
|
|
|
| virtual void SetUp() {
|
| - old_browser_client_ = GetContentClient()->browser();
|
| - GetContentClient()->set_browser_for_testing(&test_browser_client_);
|
| + old_browser_client_ = SetBrowserClientForTesting(&test_browser_client_);
|
|
|
| // Claim to always handle chrome:// URLs because the CPSP's notion of
|
| // allowing WebUI bindings is hard-wired to this particular scheme.
|
| @@ -65,7 +64,7 @@
|
|
|
| virtual void TearDown() {
|
| test_browser_client_.ClearSchemes();
|
| - GetContentClient()->set_browser_for_testing(old_browser_client_);
|
| + SetBrowserClientForTesting(old_browser_client_);
|
| }
|
|
|
| protected:
|
|
|