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

Commit 738dd89

Browse files
authored
Remove unnecessary #include of SkPromiseImageTexture (#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
1 parent 282c140 commit 738dd89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ui/snapshot_delegate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "flutter/display_list/display_list.h"
1212
#include "third_party/skia/include/core/SkImage.h"
1313
#include "third_party/skia/include/core/SkPicture.h"
14-
#include "third_party/skia/include/core/SkPromiseImageTexture.h"
14+
#include "third_party/skia/include/gpu/GrBackendSurface.h"
1515
#include "third_party/skia/include/gpu/GrContextThreadSafeProxy.h"
1616
#include "third_party/skia/include/gpu/GrDirectContext.h"
1717

0 commit comments

Comments
 (0)