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

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

Issue 656913006: Remove SVG fonts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update tests for landing Created 6 years, 2 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: Source/core/css/CSSFontFace.cpp
diff --git a/Source/core/css/CSSFontFace.cpp b/Source/core/css/CSSFontFace.cpp
index c8a50671b5e8e62f98c98f8c247df953ef0a81b2..1d07798c97cc140f357dc659cd9eaa3bb6f4b9cc 100644
--- a/Source/core/css/CSSFontFace.cpp
+++ b/Source/core/css/CSSFontFace.cpp
@@ -63,11 +63,6 @@ void CSSFontFace::fontLoaded(RemoteFontFaceSource* source)
if (loadStatus() == FontFace::Loading) {
if (source->ensureFontData()) {
setLoadStatus(FontFace::Loaded);
-#if ENABLE(SVG_FONTS)
- Document* document = m_segmentedFontFace ? m_segmentedFontFace->fontSelector()->document() : 0;
- if (document && source->isSVGFontFaceSource())
- UseCounter::count(*document, UseCounter::SVGFontInCSS);
-#endif
} else {
m_sources.removeFirst();
load();

Powered by Google App Engine
This is Rietveld 408576698