| Index: content/public/test/test_renderer_host.cc
|
| diff --git a/content/public/test/test_renderer_host.cc b/content/public/test/test_renderer_host.cc
|
| index d8faf26f5a352b0db421e07f853891b7b82cbcb0..f1d08f4147871a186ddcc3c95eba418de91c5e56 100644
|
| --- a/content/public/test/test_renderer_host.cc
|
| +++ b/content/public/test/test_renderer_host.cc
|
| @@ -13,6 +13,7 @@
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/common/content_switches.h"
|
| +#include "content/public/test/content_browser_sanity_checker.h"
|
| #include "content/public/test/mock_render_process_host.h"
|
| #include "content/public/test/test_browser_context.h"
|
| #include "content/test/browser_side_navigation_test_utils.h"
|
| @@ -192,6 +193,8 @@ void RenderViewHostTestHarness::SetUp() {
|
| new wm::DefaultActivationClient(aura_test_helper_->root_window());
|
| #endif
|
|
|
| + sanity_checker_.reset(new ContentBrowserSanityChecker());
|
| +
|
| DCHECK(!browser_context_);
|
| browser_context_.reset(CreateBrowserContext());
|
|
|
| @@ -242,7 +245,7 @@ BrowserContext* RenderViewHostTestHarness::CreateBrowserContext() {
|
|
|
| void RenderViewHostTestHarness::SetRenderProcessHostFactory(
|
| RenderProcessHostFactory* factory) {
|
| - rvh_test_enabler_.rvh_factory_->set_render_process_host_factory(factory);
|
| + rvh_test_enabler_.rvh_factory_->set_render_process_host_factory(factory);
|
| }
|
|
|
| } // namespace content
|
|
|