1 // Copyright 2021 The PDFium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #include "core/fpdfapi/page/cpdf_basedcs.h" 8 CPDF_BasedCS(Family family)9CPDF_BasedCS::CPDF_BasedCS(Family family) : CPDF_ColorSpace(family) {} 10 11 CPDF_BasedCS::~CPDF_BasedCS() = default; 12 EnableStdConversion(bool bEnabled)13void CPDF_BasedCS::EnableStdConversion(bool bEnabled) { 14 CPDF_ColorSpace::EnableStdConversion(bEnabled); 15 if (m_pBaseCS) 16 m_pBaseCS->EnableStdConversion(bEnabled); 17 } 18