From 8d1c545b53eab21c3e9a5579dd35dadf43c88e40 Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Wed, 12 Dec 2018 10:58:14 -0500 Subject: [PATCH] Remove unnecessary includes of Ganesh headers (flutter/engine#7189) --- engine/src/flutter/flow/layers/platform_view_layer.h | 7 ++----- engine/src/flutter/flow/layers/texture_layer.h | 7 ++----- .../shell/platform/android/android_external_texture_gl.cc | 2 +- .../shell/platform/darwin/ios/ios_external_texture_gl.mm | 2 -- 4 files changed, 5 insertions(+), 13 deletions(-) diff --git a/engine/src/flutter/flow/layers/platform_view_layer.h b/engine/src/flutter/flow/layers/platform_view_layer.h index b5fd2b4809..f3e0c48449 100644 --- a/engine/src/flutter/flow/layers/platform_view_layer.h +++ b/engine/src/flutter/flow/layers/platform_view_layer.h @@ -6,11 +6,8 @@ #define FLUTTER_FLOW_LAYERS_PLATFORM_VIEW_LAYER_H_ #include "flutter/flow/layers/layer.h" -#include "third_party/skia/include/core/SkSurface.h" -#include "third_party/skia/include/gpu/GrBackendSurface.h" -#include "third_party/skia/include/gpu/GrContext.h" -#include "third_party/skia/include/gpu/GrTexture.h" -#include "third_party/skia/include/gpu/GrTypes.h" +#include "third_party/skia/include/core/SkPoint.h" +#include "third_party/skia/include/core/SkSize.h" namespace flow { diff --git a/engine/src/flutter/flow/layers/texture_layer.h b/engine/src/flutter/flow/layers/texture_layer.h index 1563745e65..f761b5d02d 100644 --- a/engine/src/flutter/flow/layers/texture_layer.h +++ b/engine/src/flutter/flow/layers/texture_layer.h @@ -6,11 +6,8 @@ #define FLUTTER_FLOW_LAYERS_TEXTURE_LAYER_H_ #include "flutter/flow/layers/layer.h" -#include "third_party/skia/include/core/SkSurface.h" -#include "third_party/skia/include/gpu/GrBackendSurface.h" -#include "third_party/skia/include/gpu/GrContext.h" -#include "third_party/skia/include/gpu/GrTexture.h" -#include "third_party/skia/include/gpu/GrTypes.h" +#include "third_party/skia/include/core/SkPoint.h" +#include "third_party/skia/include/core/SkSize.h" namespace flow { diff --git a/engine/src/flutter/shell/platform/android/android_external_texture_gl.cc b/engine/src/flutter/shell/platform/android/android_external_texture_gl.cc index c587becd60..ead73ccdde 100644 --- a/engine/src/flutter/shell/platform/android/android_external_texture_gl.cc +++ b/engine/src/flutter/shell/platform/android/android_external_texture_gl.cc @@ -7,7 +7,7 @@ #include #include "flutter/shell/platform/android/platform_view_android_jni.h" -#include "third_party/skia/include/gpu/GrTexture.h" +#include "third_party/skia/include/gpu/GrBackendSurface.h" namespace shell { diff --git a/engine/src/flutter/shell/platform/darwin/ios/ios_external_texture_gl.mm b/engine/src/flutter/shell/platform/darwin/ios/ios_external_texture_gl.mm index e77970697d..543d2582e6 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/ios_external_texture_gl.mm +++ b/engine/src/flutter/shell/platform/darwin/ios/ios_external_texture_gl.mm @@ -11,8 +11,6 @@ #include "flutter/shell/platform/darwin/ios/framework/Source/vsync_waiter_ios.h" #include "third_party/skia/include/core/SkSurface.h" #include "third_party/skia/include/gpu/GrBackendSurface.h" -#include "third_party/skia/include/gpu/GrTexture.h" -#include "third_party/skia/include/gpu/GrTypes.h" namespace shell {