Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index a8c4b570081df7616853c961040b1b1b14286b59..9fc08756eca221c36896e0e3f912adb02e741130 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -5252,11 +5252,11 @@ Document& Document::ensureTemplateDocument() |
return *m_templateDocument.get(); |
} |
-PassRefPtr<FontFaceSet> Document::fonts() |
+FontFaceSet* Document::fonts() |
{ |
if (!m_fonts) |
m_fonts = FontFaceSet::create(this); |
- return m_fonts; |
+ return m_fonts.get(); |
} |
void Document::didAssociateFormControl(Element* element) |