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

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

Issue 2776203002: Migrate WTF::Vector::remove() to ::erase() (Closed)
Patch Set: rebase, repatch VectorTest Created 3 years, 9 months 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 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;
}

Powered by Google App Engine
This is Rietveld 408576698