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

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

Issue 2490503002: gpu: A common GpuMemoryBufferManager implemenetation for clients. (Closed)
Patch Set: tot merge Created 4 years, 1 month 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/public/cpp/gpu_service.h ('k') | services/ui/public/cpp/mojo_gpu_memory_buffer_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/gpu_service.cc
diff --git a/services/ui/public/cpp/gpu_service.cc b/services/ui/public/cpp/gpu_service.cc
index af8d95f27380012ca5da4dfbe2956393fa78d4a0..32363449dea5a8d3fdba7a43c437f9639d0db09f 100644
--- a/services/ui/public/cpp/gpu_service.cc
+++ b/services/ui/public/cpp/gpu_service.cc
@@ -92,7 +92,7 @@ scoped_refptr<gpu::GpuChannelHost> GpuService::EstablishGpuChannelSync() {
}
gpu::GpuMemoryBufferManager* GpuService::GetGpuMemoryBufferManager() {
- return gpu_memory_buffer_manager_.get();
+ return gpu_memory_buffer_manager();
}
scoped_refptr<gpu::GpuChannelHost> GpuService::GetGpuChannel() {
@@ -115,7 +115,7 @@ void GpuService::OnEstablishedGpuChannel(
if (client_id) {
gpu_channel_ = gpu::GpuChannelHost::Create(
this, client_id, gpu_info, IPC::ChannelHandle(channel_handle.release()),
- &shutdown_event_, gpu_memory_buffer_manager_.get());
+ &shutdown_event_, gpu_memory_buffer_manager());
}
gpu_service_.reset();
« no previous file with comments | « services/ui/public/cpp/gpu_service.h ('k') | services/ui/public/cpp/mojo_gpu_memory_buffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698