aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-02-13 16:48:17 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-14 19:25:07 +0000
commitc5aa2669df99f1faa341aa5f0d8ceb4c85eef185 (patch)
treecb9e470366ccda2e924130badca6742f04ff4e3c
parent8572d853514e3c73077540341edbf62a3f486605 (diff)
include what you use
BUG=skia: Change-Id: I3b9fb3db06a26c55f338f05418ca8ba6fbe7cedf Reviewed-on: https://skia-review.googlesource.com/8400 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
-rw-r--r--gm/clipdrawdraw.cpp1
-rw-r--r--include/core/SkCanvas.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/gm/clipdrawdraw.cpp b/gm/clipdrawdraw.cpp
index 389d7e3b87..59cf9daf38 100644
--- a/gm/clipdrawdraw.cpp
+++ b/gm/clipdrawdraw.cpp
@@ -6,6 +6,7 @@
*/
#include "gm.h"
+#include "SkRegion.h"
// This GM exercises the use case found in crbug.com/423834.
// The following pattern:
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 00597ef134..193d1afd69 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -17,9 +17,6 @@
#include "SkLights.h"
#include "../private/SkShadowParams.h"
-// remove this as soon as clients do their own IWYU
-#include "SkRegion.h"
-
class GrContext;
class GrRenderTargetContext;
class SkBaseDevice;