diff options
author | tsepez <tsepez@chromium.org> | 2016-12-02 10:11:59 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-12-02 10:11:59 -0800 |
commit | 959a904f3877d338d784c573487d90de87cb25ac (patch) | |
tree | 1f79d3a84e1ff2104ed0d7e08c76aee10986a328 /xfa/fgas/font | |
parent | fa89a203151c3ea524fc4dfd7167e2a3baf332fa (diff) | |
download | pdfium-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/fgas/font')
-rw-r--r-- | xfa/fgas/font/cfgas_fontmgr.cpp | 2 |
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; |