blob: e0f990d388fedf3f8171eba4928817b64e951d4d [file] [log] [blame]
/*
* Copyright 2015 The Android Open Source Project
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkData.h"
#include "src/codec/SkCodecImageGenerator.h"
std::unique_ptr<SkImageGenerator> SkImageGenerator::MakeFromEncodedImpl(
sk_sp<SkData> data, std::optional<SkAlphaType> at) {
return SkCodecImageGenerator::MakeFromEncodedCodec(std::move(data), at);
}