EmbedderTest: Eliminate unused include (flutter/engine#56698)

Eliminates an unused ifdef'ed include in embedder_test_backingstore_producer.h and adds it to embedder_test_context_gl.h, where it's needed. The need for this include was eliminated in https://github.com/flutter/engine/pull/56638.

No test changes since the patch introduces no semantic changes.

Issue: https://github.com/flutter/flutter/issues/158998

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
Chris Bracken
2024-11-19 07:20:22 -08:00
committed by GitHub
parent f07b24515f
commit 97c9f4a08b
2 changed files with 2 additions and 5 deletions

View File

@@ -6,17 +6,13 @@
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_BACKINGSTORE_PRODUCER_H_
#include <memory>
#include "flutter/fml/macros.h"
#include "flutter/fml/memory/ref_ptr_internal.h"
#include "flutter/shell/platform/embedder/embedder.h"
#include "third_party/skia/include/core/SkSurface.h"
#include "third_party/skia/include/gpu/ganesh/GrDirectContext.h"
#ifdef SHELL_ENABLE_GL
#include "flutter/testing/test_gl_surface.h"
#endif
namespace flutter::testing {
class EmbedderTestBackingStoreProducer {

View File

@@ -8,6 +8,7 @@
#include "flutter/shell/platform/embedder/tests/embedder_test_context.h"
#include "flutter/testing/test_gl_context.h"
#include "flutter/testing/test_gl_surface.h"
namespace flutter {
namespace testing {