Index: content/shell/browser/shell_views.cc |
diff --git a/content/shell/browser/shell_views.cc b/content/shell/browser/shell_views.cc |
index 4259536f4ac94fc5100cf895ea5adb52d97dc533..f01cff77f1aaba0611070e4d62e69831949d3f55 100644 |
--- a/content/shell/browser/shell_views.cc |
+++ b/content/shell/browser/shell_views.cc |
@@ -6,6 +6,7 @@ |
#include "base/command_line.h" |
#include "base/strings/utf_string_conversions.h" |
+#include "content/public/browser/context_factory.h" |
#include "content/public/browser/render_widget_host_view.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/common/context_menu_params.h" |
@@ -424,7 +425,8 @@ void Shell::PlatformInitialize(const gfx::Size& default_window_size) { |
chromeos::DBusThreadManager::Initialize(); |
gfx::Screen::SetScreenInstance( |
gfx::SCREEN_TYPE_NATIVE, aura::TestScreen::Create()); |
- wm_test_helper_ = new wm::WMTestHelper(default_window_size); |
+ wm_test_helper_ = new wm::WMTestHelper(default_window_size, |
+ GetContextFactory()); |
#else |
gfx::Screen::SetScreenInstance( |
gfx::SCREEN_TYPE_NATIVE, views::CreateDesktopScreen()); |