diff options
Diffstat (limited to 'content/browser/renderer_host/render_widget_host_unittest.cc')
-rw-r--r-- | content/browser/renderer_host/render_widget_host_unittest.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/content/browser/renderer_host/render_widget_host_unittest.cc b/content/browser/renderer_host/render_widget_host_unittest.cc index cd3abed..967c814 100644 --- a/content/browser/renderer_host/render_widget_host_unittest.cc +++ b/content/browser/renderer_host/render_widget_host_unittest.cc @@ -35,11 +35,9 @@ #include "ui/gfx/screen.h" #if defined(USE_AURA) -#include "content/browser/aura/image_transport_factory.h" #include "content/browser/renderer_host/render_widget_host_view_aura.h" #include "ui/aura/env.h" #include "ui/aura/test/test_screen.h" -#include "ui/compositor/test/test_context_factory.h" #endif #if defined(OS_WIN) || defined(USE_AURA) @@ -620,8 +618,6 @@ class RenderWidgetHostTest : public testing::Test { delegate_.reset(new MockRenderWidgetHostDelegate()); process_ = new RenderWidgetHostProcess(browser_context_.get()); #if defined(USE_AURA) - ImageTransportFactory::InitializeForUnitTests( - scoped_ptr<ui::ContextFactory>(new ui::TestContextFactory)); aura::Env::CreateInstance(); screen_.reset(aura::TestScreen::Create()); gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, screen_.get()); @@ -642,7 +638,6 @@ class RenderWidgetHostTest : public testing::Test { #if defined(USE_AURA) aura::Env::DeleteInstance(); screen_.reset(); - ImageTransportFactory::Terminate(); #endif // Process all pending tasks to avoid leaks. |