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

Unified Diff: Source/core/css/CSSSegmentedFontFace.cpp

Issue 928103002: Remove some unused functions in core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: git cl try Created 5 years, 10 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 | « Source/core/css/CSSSegmentedFontFace.h ('k') | Source/core/css/parser/BisonCSSParser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSSegmentedFontFace.cpp
diff --git a/Source/core/css/CSSSegmentedFontFace.cpp b/Source/core/css/CSSSegmentedFontFace.cpp
index 4c48caf4336cbea32a380cb084f125678633917e..2d01cdd43480b777d8b1b4d8bc3fcd825e9d808f 100644
--- a/Source/core/css/CSSSegmentedFontFace.cpp
+++ b/Source/core/css/CSSSegmentedFontFace.cpp
@@ -159,24 +159,6 @@ PassRefPtr<FontData> CSSSegmentedFontFace::getFontData(const FontDescription& fo
return nullptr;
}
-bool CSSSegmentedFontFace::isLoading() const
-{
- for (const auto& fontFace : m_fontFaces) {
- if (fontFace->loadStatus() == FontFace::Loading)
- return true;
- }
- return false;
-}
-
-bool CSSSegmentedFontFace::isLoaded() const
-{
- for (const auto& fontFace : m_fontFaces) {
- if (fontFace->loadStatus() != FontFace::Loaded)
- return false;
- }
- return true;
-}
-
void CSSSegmentedFontFace::willUseFontData(const FontDescription& fontDescription, UChar32 character)
{
for (FontFaceList::reverse_iterator it = m_fontFaces.rbegin(); it != m_fontFaces.rend(); ++it) {
« no previous file with comments | « Source/core/css/CSSSegmentedFontFace.h ('k') | Source/core/css/parser/BisonCSSParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698