1 /* 2 * Copyright 2015 The Android Open Source Project 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 #include "include/core/SkData.h" 9 #include "src/codec/SkCodecImageGenerator.h" 10 MakeFromEncodedImpl(sk_sp<SkData> data,std::optional<SkAlphaType> at)11std::unique_ptr<SkImageGenerator> SkImageGenerator::MakeFromEncodedImpl( 12 sk_sp<SkData> data, std::optional<SkAlphaType> at) { 13 return SkCodecImageGenerator::MakeFromEncodedCodec(std::move(data), at); 14 } 15