Index: gpu/command_buffer/tests/gl_manager.cc |
diff --git a/gpu/command_buffer/tests/gl_manager.cc b/gpu/command_buffer/tests/gl_manager.cc |
index 75a254ad3cf7e7b10f6c9e92e62197a89f187575..8b7d5c785a9716cec15323c123f6168ea2c73751 100644 |
--- a/gpu/command_buffer/tests/gl_manager.cc |
+++ b/gpu/command_buffer/tests/gl_manager.cc |
@@ -16,6 +16,7 @@ |
#include "gpu/command_buffer/service/context_group.h" |
#include "gpu/command_buffer/service/gl_context_virtual.h" |
#include "gpu/command_buffer/service/gpu_scheduler.h" |
+#include "gpu/command_buffer/service/image_manager.h" |
#include "gpu/command_buffer/service/mailbox_manager.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "ui/gl/gl_context.h" |
@@ -35,7 +36,8 @@ GLManager::Options::Options() |
share_mailbox_manager(NULL), |
virtual_manager(NULL), |
bind_generates_resource(false), |
- context_lost_allowed(false) { |
+ context_lost_allowed(false), |
+ image_manager(NULL) { |
} |
GLManager::GLManager() |
@@ -127,7 +129,7 @@ void GLManager::Initialize(const GLManager::Options& options) { |
if (!context_group) { |
context_group = new gles2::ContextGroup(mailbox_manager_.get(), |
- NULL, |
+ options.image_manager, |
NULL, |
options.bind_generates_resource); |
} |