blob: 71dea0acfdabcf87a974e2ece9216caed5bba0df [file] [log] [blame]
// Copyright 2021 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "core/fpdfapi/page/cpdf_basedcs.h"
CPDF_BasedCS::CPDF_BasedCS(Family family) : CPDF_ColorSpace(family) {}
CPDF_BasedCS::~CPDF_BasedCS() = default;
void CPDF_BasedCS::EnableStdConversion(bool bEnabled) {
CPDF_ColorSpace::EnableStdConversion(bEnabled);
if (m_pBaseCS)
m_pBaseCS->EnableStdConversion(bEnabled);
}