Index: content/shell/browser/shell_platform_data_aura.cc |
diff --git a/content/shell/browser/shell_platform_data_aura.cc b/content/shell/browser/shell_platform_data_aura.cc |
index 33b8073ba7be633573817b4a7eb455194fc6438f..95ab919ca228e1d4242d73ec4f97407264711000 100644 |
--- a/content/shell/browser/shell_platform_data_aura.cc |
+++ b/content/shell/browser/shell_platform_data_aura.cc |
@@ -4,6 +4,7 @@ |
#include "content/shell/browser/shell_platform_data_aura.h" |
+#include "content/public/browser/context_factory.h" |
#include "content/shell/browser/shell.h" |
#include "ui/aura/client/aura_constants.h" |
#include "ui/aura/client/default_capture_client.h" |
@@ -114,7 +115,8 @@ ShellPlatformDataAura* Shell::platform_ = NULL; |
ShellPlatformDataAura::ShellPlatformDataAura(const gfx::Size& initial_size) { |
CHECK(aura::Env::GetInstance()); |
- host_.reset(aura::WindowTreeHost::Create(gfx::Rect(initial_size))); |
+ host_.reset(aura::WindowTreeHost::Create(gfx::Rect(initial_size), |
+ GetContextFactory())); |
host_->InitHost(); |
host_->window()->SetLayoutManager(new FillLayout(host_->window())); |