From 17803407e0d8f214908b624a94eae06ad8eceb4e Mon Sep 17 00:00:00 2001 From: gaaclarke <30870216+gaaclarke@users.noreply.github.com> Date: Tue, 10 Jan 2023 20:33:31 -0800 Subject: [PATCH] removed forbidden skia include (#38761) * removed forbidden skia include * jason feedback --- shell/platform/embedder/tests/embedder_gl_unittests.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shell/platform/embedder/tests/embedder_gl_unittests.cc b/shell/platform/embedder/tests/embedder_gl_unittests.cc index a7018859d1d47..97426587e7a90 100644 --- a/shell/platform/embedder/tests/embedder_gl_unittests.cc +++ b/shell/platform/embedder/tests/embedder_gl_unittests.cc @@ -11,6 +11,7 @@ #include "vulkan/vulkan.h" +#include "GLES3/gl3.h" #include "flutter/flow/raster_cache.h" #include "flutter/fml/file.h" #include "flutter/fml/make_copyable.h" @@ -34,7 +35,6 @@ #include "flutter/testing/test_gl_surface.h" #include "flutter/testing/testing.h" #include "third_party/skia/include/core/SkSurface.h" -#include "third_party/skia/src/gpu/gl/GrGLDefines.h" #include "third_party/tonic/converter/dart_converter.h" // CREATE_NATIVE_ENTRY is leaky by design @@ -4033,9 +4033,9 @@ TEST_F(EmbedderTest, ExternalTextureGLRefreshedTooOften) { [&](int64_t, size_t, size_t) { resolve_called = true; auto res = std::make_unique(); - res->target = GR_GL_TEXTURE_2D; + res->target = GL_TEXTURE_2D; res->name = name; - res->format = GR_GL_RGBA8; + res->format = GL_RGBA8; res->user_data = nullptr; res->destruction_callback = [](void*) {}; res->width = res->height = 100;