From a03eb1d3ae475e7208df80a8bed910ec4922b396 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 20 Feb 2018 21:52:11 +0000 Subject: Remove extra static qualifier. Change-Id: I11ede1eb4f984b516275f03798996e6fc34880dc Reviewed-on: https://pdfium-review.googlesource.com/27410 Reviewed-by: Lei Zhang Commit-Queue: dsinclair --- xfa/fxfa/cxfa_ffapp.cpp | 6 +++--- 1 file 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(); - if (!kSkipFontLoadForTesting) { + if (!g_skipFontLoadForTesting) { if (!m_pFDEFontMgr->EnumFonts()) m_pFDEFontMgr = nullptr; } -- cgit v1.2.3