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 f1ce3a2328bae611bfd75fd8d871b791be1a3650..bf695a7173abbdda556f81dece36149278c5794d 100644 |
--- a/gpu/gles2_conform_support/egl/display.cc |
+++ b/gpu/gles2_conform_support/egl/display.cc |
@@ -15,6 +15,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" |
@@ -294,11 +295,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; |
} |