Index: gpu/command_buffer/service/context_group.cc |
diff --git a/gpu/command_buffer/service/context_group.cc b/gpu/command_buffer/service/context_group.cc |
index ecaf7006b082596656baba03af8725b7f4c9796d..3fe50adb120404cb8623b76e78ac11386f530bcc 100644 |
--- a/gpu/command_buffer/service/context_group.cc |
+++ b/gpu/command_buffer/service/context_group.cc |
@@ -14,6 +14,7 @@ |
#include "gpu/command_buffer/service/framebuffer_manager.h" |
#include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
#include "gpu/command_buffer/service/gpu_switches.h" |
+#include "gpu/command_buffer/service/image_manager.h" |
#include "gpu/command_buffer/service/mailbox_manager.h" |
#include "gpu/command_buffer/service/memory_tracking.h" |
#include "gpu/command_buffer/service/program_manager.h" |
@@ -28,9 +29,11 @@ namespace gles2 { |
ContextGroup::ContextGroup( |
MailboxManager* mailbox_manager, |
+ ImageManager* image_manager, |
MemoryTracker* memory_tracker, |
bool bind_generates_resource) |
: mailbox_manager_(mailbox_manager ? mailbox_manager : new MailboxManager), |
+ image_manager_(image_manager ? image_manager : new ImageManager), |
memory_tracker_(memory_tracker), |
num_contexts_(0), |
enforce_gl_minimums_(CommandLine::ForCurrentProcess()->HasSwitch( |