summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-12-02 10:11:59 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-02 10:11:59 -0800
commit959a904f3877d338d784c573487d90de87cb25ac (patch)
tree1f79d3a84e1ff2104ed0d7e08c76aee10986a328 /xfa
parentfa89a203151c3ea524fc4dfd7167e2a3baf332fa (diff)
downloadpdfium-959a904f3877d338d784c573487d90de87cb25ac.tar.xz
Tidy fx_stream.h
Group related IFX_ classes. Move #defines to .cpp file that uses them. Replace loose function with static method. Review-Url: https://codereview.chromium.org/2548583004
Diffstat (limited to 'xfa')
-rw-r--r--xfa/fgas/font/cfgas_fontmgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fgas/font/cfgas_fontmgr.cpp b/xfa/fgas/font/cfgas_fontmgr.cpp
index 219e67dbc6..f211e64bc3 100644
--- a/xfa/fgas/font/cfgas_fontmgr.cpp
+++ b/xfa/fgas/font/cfgas_fontmgr.cpp
@@ -567,7 +567,7 @@ FX_POSITION CFX_FontSourceEnum_File::GetStartPosition() {
}
IFX_FileAccess* CFX_FontSourceEnum_File::GetNext(FX_POSITION& pos) {
- IFX_FileAccess* pAccess = FX_CreateDefaultFileAccess(m_wsNext.AsStringC());
+ IFX_FileAccess* pAccess = IFX_FileAccess::CreateDefault(m_wsNext.AsStringC());
m_wsNext = GetNextFile().UTF8Decode();
pos = m_wsNext.GetLength() != 0 ? pAccess : nullptr;
return pAccess;