Index: ash/mus/window_manager_application.cc |
diff --git a/ash/mus/window_manager_application.cc b/ash/mus/window_manager_application.cc |
index 8e6aec96f92000c824e359a3353ae60c0a551ae3..66aab81b89b9b20ced54e5a5e44b1950bc204e61 100644 |
--- a/ash/mus/window_manager_application.cc |
+++ b/ash/mus/window_manager_application.cc |
@@ -78,7 +78,7 @@ WindowManagerApplication::~WindowManagerApplication() { |
// Destroy the WindowManager while still valid. This way we ensure |
// OnWillDestroyRootWindowController() is called (if it hasn't been already). |
window_manager_.reset(); |
- |
+ gpu_service_.reset(); |
ShutdownComponents(); |
} |
@@ -96,7 +96,7 @@ void WindowManagerApplication::InitWindowManager( |
} |
void WindowManagerApplication::OnStart(const shell::Identity& identity) { |
- ui::GpuService::Initialize(connector()); |
+ gpu_service_ = ui::GpuService::Initialize(connector()); |
window_manager_.reset(new WindowManager(connector())); |
aura_init_.reset(new views::AuraInit(connector(), "ash_mus_resources.pak")); |