| Index: Source/core/css/CSSFontFace.cpp
|
| diff --git a/Source/core/css/CSSFontFace.cpp b/Source/core/css/CSSFontFace.cpp
|
| index ae837065297d734618e04665d70dbde29447ec76..e4e773ccda97fa8796ed2972885baa4ba78c5285 100644
|
| --- a/Source/core/css/CSSFontFace.cpp
|
| +++ b/Source/core/css/CSSFontFace.cpp
|
| @@ -67,9 +67,11 @@ 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();
|
|
|