Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 31d21cb

Browse files
authored
Add necessary #includes for SkCodecAnimation.h (#37040)
1 parent 2705bcb commit 31d21cb

File tree

5 files changed

+7
-0
lines changed

5 files changed

+7
-0
lines changed

lib/ui/painting/image_generator.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include <optional>
99
#include "flutter/fml/macros.h"
10+
#include "third_party/skia/include/codec/SkCodecAnimation.h"
1011
#include "third_party/skia/include/core/SkImageInfo.h"
1112
#include "third_party/skia/src/codec/SkCodecImageGenerator.h"
1213

lib/ui/painting/image_generator_registry_unittests.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
#include "flutter/shell/common/shell_test.h"
99
#include "flutter/testing/testing.h"
1010

11+
#include "third_party/skia/include/codec/SkCodecAnimation.h"
12+
1113
namespace flutter {
1214
namespace testing {
1315

lib/ui/painting/multi_frame_codec.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include "flutter/lib/ui/painting/image_decoder_impeller.h"
1313
#endif // IMPELLER_SUPPORTS_RENDERING
1414
#include "third_party/dart/runtime/include/dart_api.h"
15+
#include "third_party/skia/include/codec/SkCodecAnimation.h"
1516
#include "third_party/skia/include/core/SkPixelRef.h"
1617
#include "third_party/tonic/logging/dart_invoke.h"
1718

shell/common/shell_unittests.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
#include "flutter/testing/testing.h"
3838
#include "gmock/gmock.h"
3939
#include "third_party/rapidjson/include/rapidjson/writer.h"
40+
#include "third_party/skia/include/codec/SkCodecAnimation.h"
4041
#include "third_party/skia/include/core/SkPictureRecorder.h"
4142
#include "third_party/tonic/converter/dart_converter.h"
4243

shell/platform/android/android_image_generator.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
#include "flutter/fml/platform/android/jni_util.h"
1313

14+
#include "third_party/skia/include/codec/SkCodecAnimation.h"
15+
1416
namespace flutter {
1517

1618
static fml::jni::ScopedJavaGlobalRef<jclass>* g_flutter_jni_class = nullptr;

0 commit comments

Comments
 (0)