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

Unified Diff: services/ui/ws/window_server_test_base.cc

Issue 2559343003: mus: Rename GpuService to Gpu. (Closed)
Patch Set: . Created 4 years 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 | « services/ui/ws/window_server_test_base.h ('k') | ui/aura/mus/mus_context_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_server_test_base.cc
diff --git a/services/ui/ws/window_server_test_base.cc b/services/ui/ws/window_server_test_base.cc
index 0bf81efe53b94f96614911ccfe5763023b2e00f3..7c8042e5fa295855f3870826ebdb7210fa55c209 100644
--- a/services/ui/ws/window_server_test_base.cc
+++ b/services/ui/ws/window_server_test_base.cc
@@ -13,7 +13,7 @@
#include "base/threading/thread_task_runner_handle.h"
#include "services/service_manager/public/cpp/connector.h"
#include "services/service_manager/public/cpp/interface_registry.h"
-#include "services/ui/public/cpp/gpu/gpu_service.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"
@@ -93,9 +93,9 @@ void WindowServerTestBase::SetUp() {
WindowServerServiceTestBase::SetUp();
env_ = aura::Env::CreateInstance(aura::Env::Mode::MUS);
- gpu_service_ = ui::GpuService::Create(connector(), nullptr);
+ gpu_ = ui::Gpu::Create(connector(), nullptr);
compositor_context_factory_ =
- base::MakeUnique<aura::MusContextFactory>(gpu_service_.get());
+ base::MakeUnique<aura::MusContextFactory>(gpu_.get());
env_->set_context_factory(compositor_context_factory_.get());
display::Screen::SetScreenInstance(&screen_);
std::unique_ptr<aura::WindowTreeClient> window_manager_window_tree_client =
@@ -115,7 +115,7 @@ void WindowServerTestBase::TearDown() {
window_tree_hosts_.clear();
window_tree_clients_.clear();
env_.reset();
- gpu_service_.reset();
+ gpu_.reset();
display::Screen::SetScreenInstance(nullptr);
WindowServerServiceTestBase::TearDown();
« no previous file with comments | « services/ui/ws/window_server_test_base.h ('k') | ui/aura/mus/mus_context_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698