// Copyright 2020 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/fxcodec/bmp/bmp_progressive_decoder.h" #include "core/fxcodec/bmp/bmp_decoder.h" #include "core/fxcodec/cfx_codec_memory.h" namespace fxcodec { // static BmpProgressiveDecoder* BmpProgressiveDecoder::GetInstance() { static pdfium::base::NoDestructor s; return s.get(); } BmpProgressiveDecoder::BmpProgressiveDecoder() = default; BmpProgressiveDecoder::~BmpProgressiveDecoder() = default; FX_FILESIZE BmpProgressiveDecoder::GetAvailInput(Context* context) const { return BmpDecoder::GetAvailInput(context); } bool BmpProgressiveDecoder::Input(Context* context, RetainPtr codec_memory) { return BmpDecoder::Input(context, codec_memory); } } // namespace fxcodec