From f96707733aa950c01abc9a65a7924c32a1c55d47 Mon Sep 17 00:00:00 2001 From: Florin Malita Date: Tue, 2 May 2017 13:17:11 -0400 Subject: [PATCH] Add missing Skia includes (flutter/engine#3642) We are removing some indirect includes from SkCanvas.h. Updating clients to pull required headers explicitly. --- engine/src/flutter/shell/gpu/gpu_surface_gl.cc | 1 - engine/src/flutter/shell/gpu/gpu_surface_gl.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/gpu/gpu_surface_gl.cc b/engine/src/flutter/shell/gpu/gpu_surface_gl.cc index 247447beb2..8380b6bd2c 100644 --- a/engine/src/flutter/shell/gpu/gpu_surface_gl.cc +++ b/engine/src/flutter/shell/gpu/gpu_surface_gl.cc @@ -8,7 +8,6 @@ #include "lib/ftl/arraysize.h" #include "lib/ftl/logging.h" #include "third_party/skia/include/core/SkSurface.h" -#include "third_party/skia/include/gpu/GrContext.h" #include "third_party/skia/include/gpu/gl/GrGLInterface.h" namespace shell { diff --git a/engine/src/flutter/shell/gpu/gpu_surface_gl.h b/engine/src/flutter/shell/gpu/gpu_surface_gl.h index 3835cbcf6b..95a6527ba5 100644 --- a/engine/src/flutter/shell/gpu/gpu_surface_gl.h +++ b/engine/src/flutter/shell/gpu/gpu_surface_gl.h @@ -9,6 +9,7 @@ #include "flutter/synchronization/debug_thread_checker.h" #include "lib/ftl/macros.h" #include "lib/ftl/memory/weak_ptr.h" +#include "third_party/skia/include/gpu/GrContext.h" namespace shell {