Index: services/ui/ws/gpu_host.cc |
diff --git a/services/ui/ws/gpu_host.cc b/services/ui/ws/gpu_host.cc |
index 466c1ef02b6ceda6b3827817fb2f1121731c9351..cbd53a7ab83cb52e6c83542b14c6693c307c53b7 100644 |
--- a/services/ui/ws/gpu_host.cc |
+++ b/services/ui/ws/gpu_host.cc |
@@ -51,8 +51,8 @@ DefaultGpuHost::DefaultGpuHost(GpuHostDelegate* delegate) |
std::move(gpu_host_proxy), preferences, |
mojo::ScopedSharedBufferHandle()); |
gpu_memory_buffer_manager_ = |
- base::MakeUnique<viz::ServerGpuMemoryBufferManager>(gpu_service_.get(), |
- next_client_id_++); |
+ base::MakeRefCounted<viz::ServerGpuMemoryBufferManager>( |
+ gpu_service_.get(), next_client_id_++); |
} |
DefaultGpuHost::~DefaultGpuHost() {} |