Skip to content

Commit fa8141e

Browse files
authored
Fix Skia includes of SkEncodedImageFormat et al (flutter#37201)
1 parent 8cc8301 commit fa8141e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

lib/ui/painting/image_decoder_unittests.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
#include "flutter/testing/test_dart_native_resolver.h"
1919
#include "flutter/testing/test_gl_surface.h"
2020
#include "flutter/testing/testing.h"
21+
#include "third_party/skia/include/codec/SkCodecAnimation.h"
22+
#include "third_party/skia/include/core/SkData.h"
23+
#include "third_party/skia/include/core/SkEncodedImageFormat.h"
24+
#include "third_party/skia/include/core/SkImageInfo.h"
25+
#include "third_party/skia/include/core/SkSize.h"
2126

2227
namespace flutter {
2328
namespace testing {

third_party/txt/tests/render_test.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
#include <string>
2020

2121
#include "flutter/fml/logging.h"
22+
#include "third_party/skia/include/core/SkBitmap.h"
23+
#include "third_party/skia/include/core/SkCanvas.h"
24+
#include "third_party/skia/include/core/SkEncodedImageFormat.h"
2225
#include "third_party/skia/include/core/SkImageEncoder.h"
2326
#include "third_party/skia/include/core/SkStream.h"
2427
#include "txt/asset_font_manager.h"

0 commit comments

Comments
 (0)