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

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

Issue 2934203002: exp/wip: Use ServerGpuMemoryBufferManager in browser.
Patch Set: . Created 3 years, 6 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
« no previous file with comments | « services/ui/ws/gpu_host.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
« no previous file with comments | « services/ui/ws/gpu_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698