Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
index ceada6f99d70a5b970eecfcbca4b2276caba176c..97f18fc1c62eb1e044d07c673dd309a394ef2c3b 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
@@ -2846,7 +2846,7 @@ void WebGLRenderingContextBase::getContextAttributes( |
GLenum WebGLRenderingContextBase::getError() { |
if (!m_lostContextErrors.isEmpty()) { |
GLenum error = m_lostContextErrors.front(); |
- m_lostContextErrors.remove(0); |
+ m_lostContextErrors.erase(0); |
return error; |
} |
@@ -2855,7 +2855,7 @@ GLenum WebGLRenderingContextBase::getError() { |
if (!m_syntheticErrors.isEmpty()) { |
GLenum error = m_syntheticErrors.front(); |
- m_syntheticErrors.remove(0); |
+ m_syntheticErrors.erase(0); |
return error; |
} |