diff --git a/lib/ui/painting/image_generator.h b/lib/ui/painting/image_generator.h index c3ed972259f3e..13b93fc94c3dc 100644 --- a/lib/ui/painting/image_generator.h +++ b/lib/ui/painting/image_generator.h @@ -7,6 +7,7 @@ #include #include "flutter/fml/macros.h" +#include "third_party/skia/include/codec/SkCodecAnimation.h" #include "third_party/skia/include/core/SkImageInfo.h" #include "third_party/skia/src/codec/SkCodecImageGenerator.h" diff --git a/lib/ui/painting/image_generator_registry_unittests.cc b/lib/ui/painting/image_generator_registry_unittests.cc index 66ff6424a0b90..3051e42410644 100644 --- a/lib/ui/painting/image_generator_registry_unittests.cc +++ b/lib/ui/painting/image_generator_registry_unittests.cc @@ -8,6 +8,8 @@ #include "flutter/shell/common/shell_test.h" #include "flutter/testing/testing.h" +#include "third_party/skia/include/codec/SkCodecAnimation.h" + namespace flutter { namespace testing { diff --git a/lib/ui/painting/multi_frame_codec.cc b/lib/ui/painting/multi_frame_codec.cc index b6702aad35d72..3099a618b8c61 100644 --- a/lib/ui/painting/multi_frame_codec.cc +++ b/lib/ui/painting/multi_frame_codec.cc @@ -12,6 +12,7 @@ #include "flutter/lib/ui/painting/image_decoder_impeller.h" #endif // IMPELLER_SUPPORTS_RENDERING #include "third_party/dart/runtime/include/dart_api.h" +#include "third_party/skia/include/codec/SkCodecAnimation.h" #include "third_party/skia/include/core/SkPixelRef.h" #include "third_party/tonic/logging/dart_invoke.h" diff --git a/shell/common/shell_unittests.cc b/shell/common/shell_unittests.cc index 9589f0874aefa..32deedfdfbc37 100644 --- a/shell/common/shell_unittests.cc +++ b/shell/common/shell_unittests.cc @@ -37,6 +37,7 @@ #include "flutter/testing/testing.h" #include "gmock/gmock.h" #include "third_party/rapidjson/include/rapidjson/writer.h" +#include "third_party/skia/include/codec/SkCodecAnimation.h" #include "third_party/skia/include/core/SkPictureRecorder.h" #include "third_party/tonic/converter/dart_converter.h" diff --git a/shell/platform/android/android_image_generator.cc b/shell/platform/android/android_image_generator.cc index 0222fd5e246a0..924d2fa5d6b6b 100644 --- a/shell/platform/android/android_image_generator.cc +++ b/shell/platform/android/android_image_generator.cc @@ -11,6 +11,8 @@ #include "flutter/fml/platform/android/jni_util.h" +#include "third_party/skia/include/codec/SkCodecAnimation.h" + namespace flutter { static fml::jni::ScopedJavaGlobalRef* g_flutter_jni_class = nullptr;