summaryrefslogtreecommitdiff
path: root/xfa/fgas/font/cfgas_fontmgr.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-12-07 15:28:14 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-07 15:28:14 -0800
commita9d29df6a774737a661d0f37f6b8aa5cba179c06 (patch)
tree0bd11a3575f9459163247de93db3fa375a44e98a /xfa/fgas/font/cfgas_fontmgr.h
parentcd5e12a9ea397b48056643a7b65126395eec3174 (diff)
downloadpdfium-a9d29df6a774737a661d0f37f6b8aa5cba179c06.tar.xz
Properly ref count IFX_FileAccess.
Review-Url: https://codereview.chromium.org/2562563002
Diffstat (limited to 'xfa/fgas/font/cfgas_fontmgr.h')
-rw-r--r--xfa/fgas/font/cfgas_fontmgr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fgas/font/cfgas_fontmgr.h b/xfa/fgas/font/cfgas_fontmgr.h
index 28a8bb528a..d3eb8f1a85 100644
--- a/xfa/fgas/font/cfgas_fontmgr.h
+++ b/xfa/fgas/font/cfgas_fontmgr.h
@@ -179,7 +179,7 @@ class CFX_FontSourceEnum_File {
~CFX_FontSourceEnum_File();
FX_POSITION GetStartPosition();
- IFX_FileAccess* GetNext(FX_POSITION& pos);
+ CFX_RetainPtr<IFX_FileAccess> GetNext(FX_POSITION& pos);
private:
CFX_ByteString GetNextFile();