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

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

Issue 321403003: Notify font loads via FontLoader (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/CSSFontSelector.cpp
diff --git a/Source/core/css/CSSFontSelector.cpp b/Source/core/css/CSSFontSelector.cpp
index 83306aa55fd9e0282385c80886d4a9336505fb56..ae0e98c2faf33e0425220660808f7ea68051a2d9 100644
--- a/Source/core/css/CSSFontSelector.cpp
+++ b/Source/core/css/CSSFontSelector.cpp
@@ -47,7 +47,7 @@ namespace WebCore {
CSSFontSelector::CSSFontSelector(Document* document)
: m_document(document)
- , m_fontLoader(FontLoader::create(document->fetcher()))
+ , m_fontLoader(FontLoader::create(this, document->fetcher()))
, m_genericFontFamilySettings(document->frame()->settings()->genericFontFamilySettings())
{
// FIXME: An old comment used to say there was no need to hold a reference to m_document

Powered by Google App Engine
This is Rietveld 408576698