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

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

Issue 1429713004: Implement CSS font-display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/css/CSSFontFace.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSFontFace.cpp b/third_party/WebKit/Source/core/css/CSSFontFace.cpp
index 838fb9935e9f3699dc80e6d7c990dacf32c9ad8f..cc0dd450c9b43403eaded99220355c29132a8e35 100644
--- a/third_party/WebKit/Source/core/css/CSSFontFace.cpp
+++ b/third_party/WebKit/Source/core/css/CSSFontFace.cpp
@@ -70,15 +70,15 @@ void CSSFontFace::fontLoaded(RemoteFontFaceSource* source)
}
if (m_segmentedFontFace)
- m_segmentedFontFace->fontLoaded(this);
+ m_segmentedFontFace->fontFaceInvalidated();
}
-void CSSFontFace::fontLoadWaitLimitExceeded(RemoteFontFaceSource* source)
+void CSSFontFace::fontDataInvalidated(RemoteFontFaceSource* source)
{
if (!isValid() || source != m_sources.first())
return;
if (m_segmentedFontFace)
- m_segmentedFontFace->fontLoadWaitLimitExceeded(this);
+ m_segmentedFontFace->fontFaceInvalidated();
}
PassRefPtr<SimpleFontData> CSSFontFace::getFontData(const FontDescription& fontDescription)

Powered by Google App Engine
This is Rietveld 408576698