Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3010)

Unified Diff: ash/mus/window_manager_application.cc

Issue 2644093002: aura: Some change to how the client-lib is set up. (Closed)
Patch Set: . Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/mus/window_manager_application.h ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/window_manager_application.cc
diff --git a/ash/mus/window_manager_application.cc b/ash/mus/window_manager_application.cc
index 9df9d531262eb63f791cebc81774a5bc43e16da3..099d3cb302dd37518110ba949c94a2f11e8c7d3b 100644
--- a/ash/mus/window_manager_application.cc
+++ b/ash/mus/window_manager_application.cc
@@ -27,9 +27,7 @@
#include "services/service_manager/public/cpp/service_context.h"
#include "services/tracing/public/cpp/provider.h"
#include "services/ui/common/accelerator_util.h"
-#include "services/ui/public/cpp/gpu/gpu.h"
#include "ui/aura/env.h"
-#include "ui/aura/mus/mus_context_factory.h"
#include "ui/aura/mus/window_tree_client.h"
#include "ui/events/event.h"
#include "ui/message_center/message_center.h"
@@ -54,7 +52,6 @@ WindowManagerApplication::~WindowManagerApplication() {
blocking_pool_->Shutdown(kMaxNewShutdownBlockingTasks);
}
- gpu_.reset();
statistics_provider_.reset();
ShutdownComponents();
}
@@ -114,11 +111,6 @@ void WindowManagerApplication::OnStart() {
context()->connector(), context()->identity(), "ash_mus_resources.pak",
"ash_mus_resources_200.pak", nullptr,
views::AuraInit::Mode::AURA_MUS_WINDOW_MANAGER);
- gpu_ = ui::Gpu::Create(context()->connector());
- compositor_context_factory_ =
- base::MakeUnique<aura::MusContextFactory>(gpu_.get());
- aura::Env::GetInstance()->set_context_factory(
- compositor_context_factory_.get());
window_manager_.reset(new WindowManager(context()->connector()));
MaterialDesignController::Initialize();
« no previous file with comments | « ash/mus/window_manager_application.h ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698