Index: Source/core/css/FontFace.cpp |
diff --git a/Source/core/css/FontFace.cpp b/Source/core/css/FontFace.cpp |
index 189f575067e47888909d633584f3f619614959b7..312156a7af990f6bc3ca86f42ece96f4b107c8f6 100644 |
--- a/Source/core/css/FontFace.cpp |
+++ b/Source/core/css/FontFace.cpp |
@@ -393,7 +393,7 @@ void FontFace::loadInternal(ExecutionContext* context) |
return; |
m_cssFontFace->load(); |
- toDocument(context)->styleEngine()->fontSelector()->fontLoader()->loadPendingFonts(); |
+ toDocument(context)->styleEngine().fontSelector()->fontLoader()->loadPendingFonts(); |
} |
FontTraits FontFace::traits() const |
@@ -532,7 +532,7 @@ void FontFace::initCSSFontFace(Document* document, PassRefPtrWillBeRawPtr<CSSVal |
if (allowDownloading && item->isSupportedFormat() && document) { |
FontResource* fetched = item->fetch(document); |
if (fetched) { |
- FontLoader* fontLoader = document->styleEngine()->fontSelector()->fontLoader(); |
+ FontLoader* fontLoader = document->styleEngine().fontSelector()->fontLoader(); |
source = adoptPtrWillBeNoop(new RemoteFontFaceSource(fetched, fontLoader)); |
} |
} |