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

Unified Diff: third_party/WebKit/Source/core/dom/ScriptRunner.cpp

Issue 2747373004: Migrate WTF::Deque::remove() to ::erase() (Closed)
Patch Set: Created 3 years, 9 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/core/dom/ScriptRunner.cpp
diff --git a/third_party/WebKit/Source/core/dom/ScriptRunner.cpp b/third_party/WebKit/Source/core/dom/ScriptRunner.cpp
index 333c2d8e254a4c5f224f5ebbe6c6719594f6d160..69056c01ec07501b8760fcd4327ca7ed492377b8 100644
--- a/third_party/WebKit/Source/core/dom/ScriptRunner.cpp
+++ b/third_party/WebKit/Source/core/dom/ScriptRunner.cpp
@@ -142,7 +142,7 @@ bool ScriptRunner::removePendingInOrderScript(ScriptLoader* scriptLoader) {
m_pendingInOrderScripts.end(), scriptLoader);
if (it == m_pendingInOrderScripts.end())
return false;
- m_pendingInOrderScripts.remove(it);
+ m_pendingInOrderScripts.erase(it);
SECURITY_CHECK(m_numberOfInOrderScriptsWithPendingNotification > 0);
m_numberOfInOrderScriptsWithPendingNotification--;
return true;

Powered by Google App Engine
This is Rietveld 408576698