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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.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/core/html/HTMLMediaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
index f095589555f0d33f682239375ed7278f1f57084d..7ff48d43dc35e0f0771bf5ba0bede4f72b2ebb7e 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -2201,7 +2201,7 @@ ScriptPromise HTMLMediaElement::playForBindings(ScriptState* scriptState) {
Nullable<ExceptionCode> code = play();
if (!code.isNull()) {
DCHECK(!m_playPromiseResolvers.isEmpty());
- m_playPromiseResolvers.removeLast();
+ m_playPromiseResolvers.pop_back();
String message;
switch (code.get()) {

Powered by Google App Engine
This is Rietveld 408576698