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 d9aaf83960c6ac6855ea7e17861eb92d4a70d06a..0c9001e486220dbfd07dc1b23dbb9958e75f57f0 100644 |
--- a/third_party/WebKit/Source/core/css/CSSFontFace.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSFontFace.cpp |
@@ -76,6 +76,11 @@ void CSSFontFace::fontLoaded(RemoteFontFaceSource* source) |
m_segmentedFontFace->fontFaceInvalidated(); |
} |
+bool CSSFontFace::isBlank() const |
+{ |
+ return !m_sources.isEmpty() && m_sources.first()->isBlank(); |
+} |
+ |
void CSSFontFace::didBecomeVisibleFallback(RemoteFontFaceSource* source) |
{ |
if (!isValid() || source != m_sources.first()) |