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

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

Issue 2614663008: Migrate WTF::Vector::append() to ::push_back() [part 13 of N] (Closed)
Patch Set: Created 3 years, 11 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 badcb26bbb0bdca65abdf747c72005faa4b6020f..51e311d30217cd72e6429c1d5349f38924243d84 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
@@ -1304,7 +1304,7 @@ void WebGLRenderingContextBase::setupFlags() {
void WebGLRenderingContextBase::addCompressedTextureFormat(GLenum format) {
if (!m_compressedTextureFormats.contains(format))
- m_compressedTextureFormats.append(format);
+ m_compressedTextureFormats.push_back(format);
}
void WebGLRenderingContextBase::removeAllCompressedTextureFormats() {
@@ -2693,7 +2693,7 @@ WebGLRenderingContextBase::getAttachedShaders(WebGLProgram* program) {
for (unsigned i = 0; i < sizeof(shaderType) / sizeof(GLenum); ++i) {
WebGLShader* shader = program->getAttachedShader(shaderType[i]);
if (shader)
- shaderObjects.append(shader);
+ shaderObjects.push_back(shader);
}
return shaderObjects;
}
@@ -3392,7 +3392,7 @@ Nullable<Vector<String>> WebGLRenderingContextBase::getSupportedExtensions() {
const char* const* prefixes = tracker->prefixes();
for (; *prefixes; ++prefixes) {
String prefixedName = String(*prefixes) + tracker->extensionName();
- result.append(prefixedName);
+ result.push_back(prefixedName);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698