Index: ash/shell/content_client/shell_browser_main_parts.cc |
diff --git a/ash/shell/content_client/shell_browser_main_parts.cc b/ash/shell/content_client/shell_browser_main_parts.cc |
index 70d523efc4bb7238446125892842a1d8622f38f3..2e4a4c402003948724da9850239a43e095e9252a 100644 |
--- a/ash/shell/content_client/shell_browser_main_parts.cc |
+++ b/ash/shell/content_client/shell_browser_main_parts.cc |
@@ -29,6 +29,7 @@ |
#include "ui/compositor/compositor.h" |
#include "ui/gfx/screen.h" |
#include "ui/message_center/message_center.h" |
+#include "ui/views/corewm/wm_state.h" |
#include "ui/views/focus/accelerator_handler.h" |
#include "ui/views/test/test_views_delegate.h" |
@@ -97,6 +98,10 @@ void ShellBrowserMainParts::PostMainMessageLoopStart() { |
#endif |
} |
+void ShellBrowserMainParts::ToolkitInitialized() { |
+ wm_state_.reset(new views::corewm::WMState); |
+} |
+ |
void ShellBrowserMainParts::PreMainMessageLoopRun() { |
net_log_.reset(new content::ShellNetLog()); |
browser_context_.reset(new content::ShellBrowserContext( |