aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-02-10 13:11:53 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-10 19:43:03 +0000
commit2aeae78a2ce3b036f0401fd0381d6fd6e2a7a1fc (patch)
tree3248b2ed5fc5447342dfd4d1a824f4c93b880882 /include
parent79086b94eda7c46c37e1cf4395eb75ef54807e3c (diff)
IWYU
BUG=skia: Change-Id: Ib6b4d52841dbe3fa69a86ddb6b97d6a5d0f004ee Reviewed-on: https://skia-review.googlesource.com/8231 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/core/SkBitmap.h1
-rw-r--r--include/core/SkCanvas.h8
-rw-r--r--include/private/SkRecords.h1
3 files changed, 4 insertions, 6 deletions
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
index 08faaafd43..c404481371 100644
--- a/include/core/SkBitmap.h
+++ b/include/core/SkBitmap.h
@@ -21,7 +21,6 @@ struct SkRect;
class SkPaint;
class SkPixelRef;
class SkPixelRefFactory;
-class SkRegion;
class SkString;
/** \class SkBitmap
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index d58b7ea515..193d1afd69 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -8,16 +8,11 @@
#ifndef SkCanvas_DEFINED
#define SkCanvas_DEFINED
-#include "SkTypes.h"
#include "SkBlendMode.h"
-#include "SkBitmap.h"
#include "SkClipOp.h"
#include "SkDeque.h"
-#include "SkImage.h"
#include "SkPaint.h"
#include "SkRasterHandleAllocator.h"
-#include "SkRefCnt.h"
-#include "SkRegion.h"
#include "SkSurfaceProps.h"
#include "SkLights.h"
#include "../private/SkShadowParams.h"
@@ -25,18 +20,21 @@
class GrContext;
class GrRenderTargetContext;
class SkBaseDevice;
+class SkBitmap;
class SkCanvasClipVisitor;
class SkClipStack;
class SkData;
class SkDraw;
class SkDrawable;
class SkDrawFilter;
+class SkImage;
class SkImageFilter;
class SkMetaData;
class SkPath;
class SkPicture;
class SkPixmap;
class SkRasterClip;
+class SkRegion;
class SkRRect;
struct SkRSXform;
class SkSurface;
diff --git a/include/private/SkRecords.h b/include/private/SkRecords.h
index d1fadc3395..b81bca87ee 100644
--- a/include/private/SkRecords.h
+++ b/include/private/SkRecords.h
@@ -16,6 +16,7 @@
#include "SkPath.h"
#include "SkPicture.h"
#include "SkRect.h"
+#include "SkRegion.h"
#include "SkRRect.h"
#include "SkRSXform.h"
#include "SkString.h"