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

Unified Diff: third_party/WebKit/Source/core/css/CSSFontFace.cpp

Issue 2749753002: Migrate WTF::Deque::removeFirst() to ::pop_front() (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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/commands/UndoStack.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSFontFace.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSFontFace.cpp b/third_party/WebKit/Source/core/css/CSSFontFace.cpp
index a7bfebeb6aab926d0d3b3825ae518408ae8536ab..48c50257ba1fa9cac8d0bee78a02d14973ab8903 100644
--- a/third_party/WebKit/Source/core/css/CSSFontFace.cpp
+++ b/third_party/WebKit/Source/core/css/CSSFontFace.cpp
@@ -65,7 +65,7 @@ void CSSFontFace::fontLoaded(RemoteFontFaceSource* source) {
m_sources.clear();
setLoadStatus(FontFace::Error);
} else {
- m_sources.removeFirst();
+ m_sources.pop_front();
load();
}
}
@@ -103,7 +103,7 @@ PassRefPtr<SimpleFontData> CSSFontFace::getFontData(
setLoadStatus(FontFace::Loaded);
return result.release();
}
- m_sources.removeFirst();
+ m_sources.pop_front();
}
if (loadStatus() == FontFace::Unloaded)
@@ -169,7 +169,7 @@ void CSSFontFace::load(const FontDescription& fontDescription) {
return;
}
}
- m_sources.removeFirst();
+ m_sources.pop_front();
}
setLoadStatus(FontFace::Error);
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/commands/UndoStack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698