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

Unified Diff: Source/core/css/CSSFontFace.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/CSSFontFace.cpp
diff --git a/Source/core/css/CSSFontFace.cpp b/Source/core/css/CSSFontFace.cpp
index 0c3af53297a04e434023dc97db671781d21cca16..46903927bba9e19fe1e6d0e040ef3bbcb5935ee6 100644
--- a/Source/core/css/CSSFontFace.cpp
+++ b/Source/core/css/CSSFontFace.cpp
@@ -161,13 +161,13 @@ void CSSFontFace::setLoadStatus(FontFace::LoadStatus newStatus)
switch (newStatus) {
case FontFace::Loading:
- FontFaceSet::from(document)->beginFontLoading(m_fontFace);
+ FontFaceSet::from(*document)->beginFontLoading(m_fontFace);
break;
case FontFace::Loaded:
- FontFaceSet::from(document)->fontLoaded(m_fontFace);
+ FontFaceSet::from(*document)->fontLoaded(m_fontFace);
break;
case FontFace::Error:
- FontFaceSet::from(document)->loadError(m_fontFace);
+ FontFaceSet::from(*document)->loadError(m_fontFace);
break;
default:
break;

Powered by Google App Engine
This is Rietveld 408576698