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

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

Issue 2752593003: Migrate WTF::Deque::first() to ::front() (Closed)
Patch Set: one more platform specific reference 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 eaf82d85dfd79d098a7f3f0addf4f30c8a935ab2..333c2d8e254a4c5f224f5ebbe6c6719594f6d160 100644
--- a/third_party/WebKit/Source/core/dom/ScriptRunner.cpp
+++ b/third_party/WebKit/Source/core/dom/ScriptRunner.cpp
@@ -95,10 +95,10 @@ void ScriptRunner::resume() {
void ScriptRunner::scheduleReadyInOrderScripts() {
while (!m_pendingInOrderScripts.isEmpty() &&
- m_pendingInOrderScripts.first()->isReady()) {
+ m_pendingInOrderScripts.front()->isReady()) {
// A ScriptLoader that failed is responsible for cancelling itself
// notifyScriptLoadError(); it continues this draining of ready scripts.
- if (m_pendingInOrderScripts.first()->errorOccurred())
+ if (m_pendingInOrderScripts.front()->errorOccurred())
break;
m_inOrderScriptsToExecuteSoon.push_back(
m_pendingInOrderScripts.takeFirst());
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSFontFace.cpp ('k') | third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698