From 471a8975bd087f473708f531daa9af8b9b428f6c Mon Sep 17 00:00:00 2001 From: Kevin Lubick Date: Mon, 12 Jun 2023 12:16:48 -0400 Subject: [PATCH] Remove unnecessary #include of SkPromiseImageTexture (flutter/engine#42770) I was refactoring this class on the Skia side and saw Flutter #included it, but did not appear to actually use it. This replaces an unnecessary #include with a necessary one. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style --- engine/src/flutter/lib/ui/snapshot_delegate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/lib/ui/snapshot_delegate.h b/engine/src/flutter/lib/ui/snapshot_delegate.h index 0640fe0dd9..ce5594befb 100644 --- a/engine/src/flutter/lib/ui/snapshot_delegate.h +++ b/engine/src/flutter/lib/ui/snapshot_delegate.h @@ -11,7 +11,7 @@ #include "flutter/display_list/display_list.h" #include "third_party/skia/include/core/SkImage.h" #include "third_party/skia/include/core/SkPicture.h" -#include "third_party/skia/include/core/SkPromiseImageTexture.h" +#include "third_party/skia/include/gpu/GrBackendSurface.h" #include "third_party/skia/include/gpu/GrContextThreadSafeProxy.h" #include "third_party/skia/include/gpu/GrDirectContext.h"