diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-02-20 21:52:11 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-20 21:52:11 +0000 |
commit | a03eb1d3ae475e7208df80a8bed910ec4922b396 (patch) | |
tree | 0dc0daf1ec33dda8d25911e80a91553143a0fa1e | |
parent | 0fdefc15d7697286a860c22a8ab50c99c8be6065 (diff) | |
download | pdfium-a03eb1d3ae475e7208df80a8bed910ec4922b396.tar.xz |
Remove extra static qualifier.
Change-Id: I11ede1eb4f984b516275f03798996e6fc34880dc
Reviewed-on: https://pdfium-review.googlesource.com/27410
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
-rw-r--r-- | xfa/fxfa/cxfa_ffapp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_ffapp.cpp b/xfa/fxfa/cxfa_ffapp.cpp index cdbc6461b5..881d05d6b9 100644 --- a/xfa/fxfa/cxfa_ffapp.cpp +++ b/xfa/fxfa/cxfa_ffapp.cpp @@ -24,13 +24,13 @@ namespace { -static bool kSkipFontLoadForTesting = false; +bool g_skipFontLoadForTesting = false; } // namespace // static void CXFA_FFApp::SkipFontLoadForTesting(bool skip) { - kSkipFontLoadForTesting = skip; + g_skipFontLoadForTesting = skip; } CXFA_FFApp::CXFA_FFApp(IXFA_AppProvider* pProvider) : m_pProvider(pProvider) { @@ -67,7 +67,7 @@ CXFA_FontMgr* CXFA_FFApp::GetXFAFontMgr() const { CFGAS_FontMgr* CXFA_FFApp::GetFDEFontMgr() { if (!m_pFDEFontMgr) { m_pFDEFontMgr = pdfium::MakeUnique<CFGAS_FontMgr>(); - if (!kSkipFontLoadForTesting) { + if (!g_skipFontLoadForTesting) { if (!m_pFDEFontMgr->EnumFonts()) m_pFDEFontMgr = nullptr; } |