summaryrefslogtreecommitdiff
path: root/xfa/fgas/font/cfgas_fontmgr.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-10-04 10:20:45 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-04 17:33:06 +0000
commit6ed297c5b418f8c9435b656b565cf48e6dcc2836 (patch)
treeddf6a61df6e2869b065edc1245ad57c0ff71f2ad /xfa/fgas/font/cfgas_fontmgr.h
parentadb19b0b11ab16a406d23797564fc0ec3a5da245 (diff)
downloadpdfium-6ed297c5b418f8c9435b656b565cf48e6dcc2836.tar.xz
Remove CFX_CRTFileAccess
The CFX_CRTFileAccess class was only used in one place and only provided one method. That method was folded back into the caller and the class removed. Change-Id: I5e670474244a9ec037b6d099d67bd5091cac7ff4 Reviewed-on: https://pdfium-review.googlesource.com/15410 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fgas/font/cfgas_fontmgr.h')
-rw-r--r--xfa/fgas/font/cfgas_fontmgr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fgas/font/cfgas_fontmgr.h b/xfa/fgas/font/cfgas_fontmgr.h
index f1e75bad95..351b5d624c 100644
--- a/xfa/fgas/font/cfgas_fontmgr.h
+++ b/xfa/fgas/font/cfgas_fontmgr.h
@@ -11,9 +11,9 @@
#include <map>
#include <memory>
#include <set>
+#include <utility>
#include <vector>
-#include "core/fxcrt/cfx_crtfileaccess.h"
#include "core/fxcrt/cfx_seekablestreamproxy.h"
#include "core/fxcrt/fx_extension.h"
#include "core/fxcrt/observable.h"
@@ -104,7 +104,7 @@ class CFX_FontSourceEnum_File {
~CFX_FontSourceEnum_File();
bool HasStartPosition();
- RetainPtr<CFX_CRTFileAccess> GetNext();
+ std::pair<bool, RetainPtr<IFX_SeekableStream>> GetNext();
private:
struct HandleParentPath {