Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(470)

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp

Issue 2470233009: WTF/std normalization: replace WTF::Vector::first() with ::front() (Closed)
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698