From 709e160b5c7bc0b732388cb9f96c25548fa0bf0c Mon Sep 17 00:00:00 2001 From: Kevin Lubick Date: Thu, 2 Mar 2023 15:25:42 -0500 Subject: [PATCH] Fix includes of SkBitmap/SkImage (flutter/engine#40026) --- engine/src/flutter/flow/paint_utils.cc | 1 + .../impeller/image/backends/skia/compressed_image_skia.cc | 1 + engine/src/flutter/lib/ui/painting/image_decoder_skia.cc | 2 ++ 3 files changed, 4 insertions(+) diff --git a/engine/src/flutter/flow/paint_utils.cc b/engine/src/flutter/flow/paint_utils.cc index 290c515712..42fbab2c5f 100644 --- a/engine/src/flutter/flow/paint_utils.cc +++ b/engine/src/flutter/flow/paint_utils.cc @@ -7,6 +7,7 @@ #include #include "third_party/skia/include/core/SkBitmap.h" +#include "third_party/skia/include/core/SkImage.h" #include "third_party/skia/include/core/SkPaint.h" #include "third_party/skia/include/core/SkShader.h" diff --git a/engine/src/flutter/impeller/image/backends/skia/compressed_image_skia.cc b/engine/src/flutter/impeller/image/backends/skia/compressed_image_skia.cc index d084405325..26fd6d70f4 100644 --- a/engine/src/flutter/impeller/image/backends/skia/compressed_image_skia.cc +++ b/engine/src/flutter/impeller/image/backends/skia/compressed_image_skia.cc @@ -7,6 +7,7 @@ #include #include "impeller/base/validation.h" +#include "third_party/skia/include/core/SkBitmap.h" #include "third_party/skia/include/core/SkData.h" #include "third_party/skia/include/core/SkImageGenerator.h" #include "third_party/skia/include/core/SkPixmap.h" diff --git a/engine/src/flutter/lib/ui/painting/image_decoder_skia.cc b/engine/src/flutter/lib/ui/painting/image_decoder_skia.cc index 2dc6891c86..4ed9de42d7 100644 --- a/engine/src/flutter/lib/ui/painting/image_decoder_skia.cc +++ b/engine/src/flutter/lib/ui/painting/image_decoder_skia.cc @@ -9,6 +9,8 @@ #include "flutter/fml/logging.h" #include "flutter/fml/make_copyable.h" #include "flutter/lib/ui/painting/display_list_image_gpu.h" +#include "third_party/skia/include/core/SkBitmap.h" +#include "third_party/skia/include/core/SkImage.h" namespace flutter {