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

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

Issue 2502413004: WTF/std normalization: replace WTF::Vector::last with ::back (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/WebGL2RenderingContextBase.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp
index 739a23f6d51e9088cce1f3c2e4f8fee42a299ad5..192f2c62497c00ceff7ebbdf32b47d64f18f8211 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp
@@ -3384,7 +3384,7 @@ void WebGL2RenderingContextBase::transformFeedbackVaryings(
Vector<const char*> varyingStrings;
for (size_t i = 0; i < varyings.size(); ++i) {
keepAlive.append(varyings[i].ascii());
- varyingStrings.append(keepAlive.last().data());
+ varyingStrings.append(keepAlive.back().data());
}
contextGL()->TransformFeedbackVaryings(objectOrZero(program), varyings.size(),
@@ -3569,7 +3569,7 @@ Vector<GLuint> WebGL2RenderingContextBase::getUniformIndices(
Vector<const char*> uniformStrings;
for (size_t i = 0; i < uniformNames.size(); ++i) {
keepAlive.append(uniformNames[i].ascii());
- uniformStrings.append(keepAlive.last().data());
+ uniformStrings.append(keepAlive.back().data());
}
result.resize(uniformNames.size());
« no previous file with comments | « third_party/WebKit/Source/modules/peerconnection/RTCDataChannelTest.cpp ('k') | third_party/WebKit/Source/platform/PODArena.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698