aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PictureTest.cpp
diff options
context:
space:
mode:
authorGravatar Ben Wagner <bungeman@google.com>2018-03-14 15:07:43 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-14 21:07:15 +0000
commitcb3d49c5f2ad1d4100a686cc4940f4acce74a12e (patch)
tree7b1aecc143302d2e16f4829b244417eb369e4760 /tests/PictureTest.cpp
parent3eda0bf4bf006bd826824e41011a7b7438bf8dcb (diff)
Some iwyu for tests which will otherwise break.
A change currently in progress would break these test files since they aren't including what they use. Make them include what they use so they don't break in the future. Change-Id: I25d8d57631706dec0d0197b3759c6c18a0fe3aa0 Reviewed-on: https://skia-review.googlesource.com/114465 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'tests/PictureTest.cpp')
-rw-r--r--tests/PictureTest.cpp38
1 files changed, 22 insertions, 16 deletions
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp
index 425b25a153..084b8616b7 100644
--- a/tests/PictureTest.cpp
+++ b/tests/PictureTest.cpp
@@ -5,35 +5,41 @@
* found in the LICENSE file.
*/
-#include "SkBigPicture.h"
+#include "SkBBHFactory.h"
#include "SkBBoxHierarchy.h"
-#include "SkBlurImageFilter.h"
+#include "SkBigPicture.h"
+#include "SkBitmap.h"
#include "SkCanvas.h"
-#include "SkColorMatrixFilter.h"
-#include "SkColorPriv.h"
-#include "SkDashPathEffect.h"
+#include "SkClipOp.h"
+#include "SkClipOpPriv.h"
+#include "SkColor.h"
#include "SkData.h"
-#include "SkImageGenerator.h"
-#include "SkImageEncoder.h"
-#include "SkImageGenerator.h"
-#include "SkMD5.h"
+#include "SkFontStyle.h"
+#include "SkImageInfo.h"
+#include "SkMatrix.h"
#include "SkMiniRecorder.h"
#include "SkPaint.h"
+#include "SkPath.h"
#include "SkPicture.h"
#include "SkPictureRecorder.h"
#include "SkPixelRef.h"
-#include "SkRectPriv.h"
-#include "SkRRect.h"
#include "SkRandom.h"
-#include "SkRecord.h"
+#include "SkRect.h"
+#include "SkRectPriv.h"
+#include "SkRefCnt.h"
+#include "SkScalar.h"
#include "SkShader.h"
#include "SkStream.h"
-#include "sk_tool_utils.h"
-
+#include "SkTypeface.h"
+#include "SkTypes.h"
#include "Test.h"
-#include "SkLumaColorFilter.h"
-#include "SkColorFilterImageFilter.h"
+#include <memory>
+
+class SkRRect;
+class SkRegion;
+template <typename T> class SkTDArray;
+
static void make_bm(SkBitmap* bm, int w, int h, SkColor color, bool immutable) {
bm->allocN32Pixels(w, h);