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

Unified Diff: third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp

Issue 2459003003: WTF/std normalization: replace WTF::Vector::removeLast with ::pop_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/filesystem/DOMFilePath.cpp
diff --git a/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp b/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp
index a9f91a421ae58094d319dc84ce41b9ae4f400fc5..3555e059f99623c4ae585955a3dceb2408150cd2 100644
--- a/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp
@@ -88,7 +88,7 @@ String DOMFilePath::removeExtraParentReferences(const String& path) {
continue;
if (components[i] == "..") {
if (canonicalized.size() > 0)
- canonicalized.removeLast();
+ canonicalized.pop_back();
continue;
}
canonicalized.append(components[i]);

Powered by Google App Engine
This is Rietveld 408576698