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

Unified Diff: components/mus/public/cpp/lib/gpu_service.cc

Issue 2020293003: Use mus::MojoGpuMemoryBufferManager in mus::GpuService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 years, 7 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
Index: components/mus/public/cpp/lib/gpu_service.cc
diff --git a/components/mus/public/cpp/lib/gpu_service.cc b/components/mus/public/cpp/lib/gpu_service.cc
index 7e7c253046b5189e6457c21da409173dca3436ee..a7198d90b4914ede12f04d865da3a8270f43fcbb 100644
--- a/components/mus/public/cpp/lib/gpu_service.cc
+++ b/components/mus/public/cpp/lib/gpu_service.cc
@@ -7,8 +7,8 @@
#include "base/command_line.h"
#include "base/memory/singleton.h"
#include "components/mus/common/gpu_type_converters.h"
+#include "components/mus/common/mojo_gpu_memory_buffer_manager.h"
#include "components/mus/common/switches.h"
-#include "components/mus/public/cpp/lib/gpu_memory_buffer_manager_mus.h"
#include "components/mus/public/interfaces/gpu_service.mojom.h"
#include "services/shell/public/cpp/connector.h"
@@ -32,7 +32,7 @@ GpuService::GpuService()
: main_message_loop_(base::MessageLoop::current()),
shutdown_event_(false, false),
io_thread_("GPUIOThread"),
- gpu_memory_buffer_manager_(new mus::GpuMemoryBufferManagerMus) {
+ gpu_memory_buffer_manager_(new MojoGpuMemoryBufferManager) {
base::Thread::Options thread_options(base::MessageLoop::TYPE_IO, 0);
thread_options.priority = base::ThreadPriority::NORMAL;
CHECK(io_thread_.StartWithOptions(thread_options));

Powered by Google App Engine
This is Rietveld 408576698