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

Unified Diff: services/ui/public/cpp/gpu/gpu_service.cc

Issue 2562623005: mus/gpu: Rename the client/server side memory buffer managers. (Closed)
Patch Set: tot merge 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
Index: services/ui/public/cpp/gpu/gpu_service.cc
diff --git a/services/ui/public/cpp/gpu/gpu_service.cc b/services/ui/public/cpp/gpu/gpu_service.cc
index a240becc740b337c10174ab187da2267c51e859d..e81915a18c89cfc63abb6b3024290446d6d69327 100644
--- a/services/ui/public/cpp/gpu/gpu_service.cc
+++ b/services/ui/public/cpp/gpu/gpu_service.cc
@@ -9,7 +9,7 @@
#include "mojo/public/cpp/bindings/sync_call_restrictions.h"
#include "mojo/public/cpp/system/platform_handle.h"
#include "services/service_manager/public/cpp/connector.h"
-#include "services/ui/public/cpp/gpu/mojo_gpu_memory_buffer_manager.h"
+#include "services/ui/public/cpp/gpu/client_gpu_memory_buffer_manager.h"
#include "services/ui/public/interfaces/constants.mojom.h"
#include "services/ui/public/interfaces/gpu_service.mojom.h"
@@ -26,8 +26,8 @@ GpuService::GpuService(service_manager::Connector* connector,
DCHECK(connector_);
mojom::GpuServicePtr gpu_service_ptr;
connector_->ConnectToInterface(ui::mojom::kServiceName, &gpu_service_ptr);
- gpu_memory_buffer_manager_ =
- base::MakeUnique<MojoGpuMemoryBufferManager>(std::move(gpu_service_ptr));
+ gpu_memory_buffer_manager_ = base::MakeUnique<ClientGpuMemoryBufferManager>(
+ std::move(gpu_service_ptr));
if (!io_task_runner_) {
io_thread_.reset(new base::Thread("GPUIOThread"));
base::Thread::Options thread_options(base::MessageLoop::TYPE_IO, 0);
« no previous file with comments | « services/ui/public/cpp/gpu/gpu_service.h ('k') | services/ui/public/cpp/gpu/mojo_gpu_memory_buffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698