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 14779657bae903d01b2e16b710eb82bc10e8dc53..8a9ea12561bb8ea3534086fa868fe1421dbf569e 100644 |
--- a/gpu/ipc/service/gpu_channel_manager.cc |
+++ b/gpu/ipc/service/gpu_channel_manager.cc |
@@ -66,6 +66,7 @@ GpuChannelManager::GpuChannelManager( |
sync_point_manager_(sync_point_manager), |
gpu_memory_buffer_factory_(gpu_memory_buffer_factory), |
gpu_feature_info_(gpu_feature_info), |
+ discardable_manager_(new ServiceDiscardableManager()), |
exiting_for_lost_context_(false), |
activity_flags_(std::move(activity_flags)), |
weak_factory_(this) { |
@@ -131,7 +132,7 @@ GpuChannel* GpuChannelManager::EstablishChannel(int client_id, |
bool is_gpu_host) { |
std::unique_ptr<GpuChannel> gpu_channel = base::MakeUnique<GpuChannel>( |
this, sync_point_manager_, watchdog_, share_group_, mailbox_manager_, |
- is_gpu_host ? preemption_flag_ : nullptr, |
+ 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); |