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 8560399738c74bb183688b6d6899b004be6027af..e71e47a2bb4cf1f539faee981eed44b980ccc7a4 100644 |
--- a/gpu/command_buffer/tests/gl_manager.cc |
+++ b/gpu/command_buffer/tests/gl_manager.cc |
@@ -223,7 +223,8 @@ void GLManager::InitializeWithCommandLine(const GLManager::Options& options, |
if (command_line) |
feature_info = new gles2::FeatureInfo(*command_line); |
context_group = new gles2::ContextGroup( |
- mailbox_manager_.get(), NULL, new gpu::gles2::ShaderTranslatorCache, |
+ gpu_preferences_, mailbox_manager_.get(), NULL, |
+ new gpu::gles2::ShaderTranslatorCache(gpu_preferences_), |
new gpu::gles2::FramebufferCompletenessCache, feature_info, NULL, NULL, |
options.bind_generates_resource); |
} |