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

Unified Diff: third_party/WebKit/Source/modules/vibration/VibrationController.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/vibration/VibrationController.cpp
diff --git a/third_party/WebKit/Source/modules/vibration/VibrationController.cpp b/third_party/WebKit/Source/modules/vibration/VibrationController.cpp
index 54313daff4d262c53fa5a4576ddffdbc6357e201..87c9eeff61fe11912f3a7231c1a82124d30a37f7 100644
--- a/third_party/WebKit/Source/modules/vibration/VibrationController.cpp
+++ b/third_party/WebKit/Source/modules/vibration/VibrationController.cpp
@@ -52,7 +52,7 @@ blink::VibrationController::VibrationPattern sanitizeVibrationPatternInternal(
// If the last item in the pattern is a pause then discard it.
if (length && !(length % 2))
- sanitized.removeLast();
+ sanitized.pop_back();
return sanitized;
}
« no previous file with comments | « third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp ('k') | third_party/WebKit/Source/platform/ContextMenu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698