Index: chrome/browser/ui/ash/ash_init.cc |
diff --git a/chrome/browser/ui/ash/ash_init.cc b/chrome/browser/ui/ash/ash_init.cc |
index 06ab94e5d77c0d06ef37e901b61e966043b1e3fa..78e617b9c0ad23c98f3f79c145c76260ff6e4473 100644 |
--- a/chrome/browser/ui/ash/ash_init.cc |
+++ b/chrome/browser/ui/ash/ash_init.cc |
@@ -19,6 +19,7 @@ |
#include "chrome/browser/ui/ash/screenshot_taker.h" |
#include "chrome/common/chrome_switches.h" |
#include "content/public/browser/browser_thread.h" |
+#include "content/public/browser/context_factory.h" |
#include "ui/aura/env.h" |
#include "ui/aura/window_tree_host.h" |
@@ -62,6 +63,7 @@ void OpenAsh(gfx::AcceleratedWidget remote_window) { |
ash::ShellInitParams shell_init_params; |
// Shell takes ownership of ChromeShellDelegate. |
shell_init_params.delegate = new ChromeShellDelegate; |
+ shell_init_params.context_factory = content::GetContextFactory(); |
#if defined(OS_WIN) |
shell_init_params.remote_hwnd = remote_window; |
#endif |