Index: xfa/fde/tto/fde_textout.cpp |
diff --git a/xfa/fde/tto/fde_textout.cpp b/xfa/fde/tto/fde_textout.cpp |
index cf541a289c5710e0b117c626954577328c09a3b3..1081526148f67a03222dd491f7a304de8481890f 100644 |
--- a/xfa/fde/tto/fde_textout.cpp |
+++ b/xfa/fde/tto/fde_textout.cpp |
@@ -46,7 +46,7 @@ CFDE_TextOut::~CFDE_TextOut() { |
m_ttoLines.RemoveAll(false); |
} |
-void CFDE_TextOut::SetFont(CFGAS_GEFont* pFont) { |
+void CFDE_TextOut::SetFont(const CFX_RetainPtr<CFGAS_GEFont>& pFont) { |
ASSERT(pFont); |
m_pFont = pFont; |
m_pTxtBreak->SetFont(pFont); |