Index: gpu/gles2_conform_support/egl/display.cc |
diff --git a/gpu/gles2_conform_support/egl/display.cc b/gpu/gles2_conform_support/egl/display.cc |
index a19718b4c35e8c5a0030314a4d2a6e6eeac3d857..0f76554503462334980d3fdfd9a14aab88e1ae4d 100644 |
--- a/gpu/gles2_conform_support/egl/display.cc |
+++ b/gpu/gles2_conform_support/egl/display.cc |
@@ -14,6 +14,7 @@ |
#include "base/lazy_instance.h" |
#include "gpu/command_buffer/client/gles2_implementation.h" |
#include "gpu/command_buffer/client/gles2_lib.h" |
+#include "gpu/command_buffer/client/shared_memory_limits.h" |
#include "gpu/command_buffer/client/transfer_buffer.h" |
#include "gpu/command_buffer/common/value_state.h" |
#include "gpu/command_buffer/service/context_group.h" |
@@ -289,11 +290,9 @@ EGLContext Display::CreateContext(EGLConfig config, |
support_client_side_arrays, |
this)); |
- if (!context_->Initialize( |
- kTransferBufferSize, |
- kTransferBufferSize / 2, |
- kTransferBufferSize * 2, |
- gpu::gles2::GLES2Implementation::kNoLimit)) { |
+ if (!context_->Initialize(kTransferBufferSize, kTransferBufferSize / 2, |
+ kTransferBufferSize * 2, |
+ gpu::SharedMemoryLimits::kNoLimit)) { |
return EGL_NO_CONTEXT; |
} |