File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1313#include " flutter/lib/ui/dart_wrapper.h"
1414#include " flutter/lib/ui/painting/image_generator_registry.h"
1515#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"
1818#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"
2021#include " third_party/tonic/dart_library_natives.h"
2122
2223namespace flutter {
@@ -38,7 +39,7 @@ class ImageDescriptor : public RefCountedDartWrappable<ImageDescriptor> {
3839 kBGRA8888 ,
3940 };
4041
41- // / @brief Asynchronously initlializes an ImageDescriptor for an encoded
42+ // / @brief Asynchronously initializes an ImageDescriptor for an encoded
4243 // / image, as long as the format is recognized by an encoder installed
4344 // / in the `ImageGeneratorRegistry`. Calling this method will create
4445 // / an `ImageGenerator` and read EXIF corrected dimensions from the
Original file line number Diff line number Diff line change 77#include < utility>
88
99#include " flutter/fml/logging.h"
10+ #include " third_party/skia/include/core/SkBitmap.h"
1011
1112namespace flutter {
1213
Original file line number Diff line number Diff line change 77
88#include < optional>
99#include " flutter/fml/macros.h"
10+ #include " third_party/skia/include/codec/SkCodec.h"
1011#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"
1114#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
1317
1418namespace flutter {
1519
You can’t perform that action at this time.
0 commit comments