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

Unified Diff: gpu/ipc/service/gpu_channel_manager.cc

Issue 2814583002: Service/ClientDiscardableManager (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « gpu/ipc/service/gpu_channel_manager.h ('k') | gpu/ipc/service/gpu_command_buffer_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/gpu_channel_manager.cc
diff --git a/gpu/ipc/service/gpu_channel_manager.cc b/gpu/ipc/service/gpu_channel_manager.cc
index 96785707769977a6bb5ebb4fcce96d6ba364631e..a0bde4228255543e32b263dd4b2073b99f7bcdb0 100644
--- a/gpu/ipc/service/gpu_channel_manager.cc
+++ b/gpu/ipc/service/gpu_channel_manager.cc
@@ -132,7 +132,8 @@ GpuChannel* GpuChannelManager::EstablishChannel(int client_id,
bool is_gpu_host) {
std::unique_ptr<GpuChannel> gpu_channel = base::MakeUnique<GpuChannel>(
this, scheduler_, sync_point_manager_, watchdog_, share_group_,
- mailbox_manager_, is_gpu_host ? preemption_flag_ : nullptr,
+ mailbox_manager_, &discardable_manager_,
+ is_gpu_host ? preemption_flag_ : nullptr,
is_gpu_host ? nullptr : preemption_flag_, task_runner_, io_task_runner_,
client_id, client_tracing_id, is_gpu_host);
« no previous file with comments | « gpu/ipc/service/gpu_channel_manager.h ('k') | gpu/ipc/service/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698