diff options
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/render_view_test.cc | 2 | ||||
-rw-r--r-- | chrome/test/render_view_test.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chrome/test/render_view_test.cc b/chrome/test/render_view_test.cc index 27798b0..774042b0 100644 --- a/chrome/test/render_view_test.cc +++ b/chrome/test/render_view_test.cc @@ -100,7 +100,7 @@ void RenderViewTest::SetUp() { // Configure modules that need access to resources. gfx::GfxModule::SetResourceProvider(chrome::GfxResourceProvider); - content::GetContentClient()->set_renderer(&content_renderer_client_); + content::GetContentClient()->set_renderer(&chrome_content_renderer_client_); extension_dispatcher_ = new ExtensionDispatcher(); sandbox_init_wrapper_.reset(new SandboxInitWrapper()); command_line_.reset(new CommandLine(CommandLine::NO_PROGRAM)); diff --git a/chrome/test/render_view_test.h b/chrome/test/render_view_test.h index b70f042..f71a042 100644 --- a/chrome/test/render_view_test.h +++ b/chrome/test/render_view_test.h @@ -16,9 +16,9 @@ #include "content/common/main_function_params.h" #include "content/common/native_web_keyboard_event.h" #include "content/common/sandbox_init_wrapper.h" -#include "content/renderer/content_renderer_client.h" #include "content/renderer/render_view.h" #include "content/renderer/renderer_webkitclient_impl.h" +#include "chrome/renderer/chrome_content_renderer_client.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" @@ -95,7 +95,7 @@ class RenderViewTest : public testing::Test { virtual void TearDown(); MessageLoop msg_loop_; - content::ContentRendererClient content_renderer_client_; + chrome::ChromeContentRendererClient chrome_content_renderer_client_; ExtensionDispatcher* extension_dispatcher_; MockRenderThread render_thread_; scoped_ptr<MockRenderProcess> mock_process_; |