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

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

Issue 171333003: Pass implementation object to supplemental classes by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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 be4318079cff9707171f085fb00aea5c8e3f4f3a..47ee0371d47a9350d86b9af91eda2e84b46962c8 100644
--- a/Source/core/css/CSSFontSelector.cpp
+++ b/Source/core/css/CSSFontSelector.cpp
@@ -115,7 +115,7 @@ CSSFontSelector::CSSFontSelector(Document* document)
ASSERT(m_document);
ASSERT(m_document->frame());
FontCache::fontCache()->addClient(this);
- FontFaceSet::from(document)->addFontFacesToFontFaceCache(&m_fontFaceCache, this);
+ FontFaceSet::from(*document)->addFontFacesToFontFaceCache(&m_fontFaceCache, this);
}
CSSFontSelector::~CSSFontSelector()

Powered by Google App Engine
This is Rietveld 408576698