This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 3 files changed +11
-5
lines changed 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 13
13
#include " flutter/lib/ui/dart_wrapper.h"
14
14
#include " flutter/lib/ui/painting/image_generator_registry.h"
15
15
#include " flutter/lib/ui/painting/immutable_buffer.h"
16
- #include " third_party/skia/include/codec/SkCodec .h"
17
- #include " third_party/skia/include/core/SkImageGenerator .h"
16
+ #include " third_party/skia/include/core/SkData .h"
17
+ #include " third_party/skia/include/core/SkImage .h"
18
18
#include " third_party/skia/include/core/SkImageInfo.h"
19
- #include " third_party/skia/src/codec/SkCodecImageGenerator.h"
19
+ #include " third_party/skia/include/core/SkPixmap.h"
20
+ #include " third_party/skia/include/core/SkSize.h"
20
21
#include " third_party/tonic/dart_library_natives.h"
21
22
22
23
namespace flutter {
@@ -38,7 +39,7 @@ class ImageDescriptor : public RefCountedDartWrappable<ImageDescriptor> {
38
39
kBGRA8888 ,
39
40
};
40
41
41
- // / @brief Asynchronously initlializes an ImageDescriptor for an encoded
42
+ // / @brief Asynchronously initializes an ImageDescriptor for an encoded
42
43
// / image, as long as the format is recognized by an encoder installed
43
44
// / in the `ImageGeneratorRegistry`. Calling this method will create
44
45
// / an `ImageGenerator` and read EXIF corrected dimensions from the
Original file line number Diff line number Diff line change 7
7
#include < utility>
8
8
9
9
#include " flutter/fml/logging.h"
10
+ #include " third_party/skia/include/core/SkBitmap.h"
10
11
11
12
namespace flutter {
12
13
Original file line number Diff line number Diff line change 7
7
8
8
#include < optional>
9
9
#include " flutter/fml/macros.h"
10
+ #include " third_party/skia/include/codec/SkCodec.h"
10
11
#include " third_party/skia/include/codec/SkCodecAnimation.h"
12
+ #include " third_party/skia/include/core/SkData.h"
13
+ #include " third_party/skia/include/core/SkImage.h"
11
14
#include " third_party/skia/include/core/SkImageInfo.h"
12
- #include " third_party/skia/src/codec/SkCodecImageGenerator.h"
15
+ #include " third_party/skia/include/core/SkSize.h"
16
+ #include " third_party/skia/src/codec/SkCodecImageGenerator.h" // nogncheck
13
17
14
18
namespace flutter {
15
19
You can’t perform that action at this time.
0 commit comments