Index: gpu/ipc/in_process_command_buffer.cc |
diff --git a/gpu/ipc/in_process_command_buffer.cc b/gpu/ipc/in_process_command_buffer.cc |
index cba5695f324e095d952efe8fca8ff2d011c89b13..18a47858328f3cdcd9640a1c040b1360ec516353 100644 |
--- a/gpu/ipc/in_process_command_buffer.cc |
+++ b/gpu/ipc/in_process_command_buffer.cc |
@@ -38,6 +38,7 @@ |
#include "gpu/command_buffer/service/memory_program_cache.h" |
#include "gpu/command_buffer/service/memory_tracking.h" |
#include "gpu/command_buffer/service/query_manager.h" |
+#include "gpu/command_buffer/service/service_discardable_manager.h" |
#include "gpu/command_buffer/service/service_utils.h" |
#include "gpu/command_buffer/service/sync_point_manager.h" |
#include "gpu/command_buffer/service/transfer_buffer_manager.h" |
@@ -315,7 +316,9 @@ bool InProcessCommandBuffer::InitializeOnGpuThread( |
service_->gpu_preferences(), service_->mailbox_manager(), NULL, |
service_->shader_translator_cache(), |
service_->framebuffer_completeness_cache(), feature_info, |
- bind_generates_resource, nullptr, nullptr, GpuFeatureInfo()); |
+ bind_generates_resource, nullptr, nullptr, GpuFeatureInfo(), |
+ scoped_refptr<ServiceDiscardableManager>( |
+ new ServiceDiscardableManager)); |
decoder_.reset(gles2::GLES2Decoder::Create(context_group_.get())); |