From 47228aceb86744f858ab8bfa98f3f8b62054dfae Mon Sep 17 00:00:00 2001 From: weili Date: Wed, 20 Jul 2016 10:35:31 -0700 Subject: Clean up singleton implementation Move the singleton instances into their namespaces, and use get()/getInstance() for uniform accesses. Review-Url: https://codereview.chromium.org/2154843002 --- fpdfsdk/fpdfdoc_unittest.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'fpdfsdk/fpdfdoc_unittest.cpp') diff --git a/fpdfsdk/fpdfdoc_unittest.cpp b/fpdfsdk/fpdfdoc_unittest.cpp index e315fd853e..2bd2e586aa 100644 --- a/fpdfsdk/fpdfdoc_unittest.cpp +++ b/fpdfsdk/fpdfdoc_unittest.cpp @@ -57,7 +57,6 @@ class PDFDocTest : public testing::Test { void SetUp() override { // We don't need page module or render module, but // initialize them to keep the code sane. - CPDF_ModuleMgr::Create(); CPDF_ModuleMgr* module_mgr = CPDF_ModuleMgr::Get(); module_mgr->InitPageModule(); -- cgit v1.2.3