blob: 522b1ef8f9d1bd101f4919599469b05048ba7ad7 [file] [log] [blame]
// Copyright 2021 The PDFium Authors
// 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 (base_cs_) {
base_cs_->EnableStdConversion(bEnabled);
}
}