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 | |
11 | std::unique_ptr<SkImageGenerator> SkImageGenerator::MakeFromEncodedImpl(sk_sp<SkData> data) { |
12 | return SkCodecImageGenerator::MakeFromEncodedCodec(std::move(data)); |
13 | } |
14 |