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 3cdccdcae65eafae28a4856602bb7a1d2da46304..81ab5906c8d6126e8f0b3db91cdde58eae0dd00c 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
@@ -2753,7 +2753,7 @@ void WebGLRenderingContextBase::getContextAttributes( |
GLenum WebGLRenderingContextBase::getError() { |
if (!m_lostContextErrors.isEmpty()) { |
- GLenum error = m_lostContextErrors.first(); |
+ GLenum error = m_lostContextErrors.front(); |
m_lostContextErrors.remove(0); |
return error; |
} |
@@ -2762,7 +2762,7 @@ GLenum WebGLRenderingContextBase::getError() { |
return GL_NO_ERROR; |
if (!m_syntheticErrors.isEmpty()) { |
- GLenum error = m_syntheticErrors.first(); |
+ GLenum error = m_syntheticErrors.front(); |
m_syntheticErrors.remove(0); |
return error; |
} |