aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/CanvasTest.cpp
diff options
context:
space:
mode:
authorGravatar Ben Wagner <bungeman@google.com>2018-03-12 20:04:31 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-12 20:04:39 +0000
commit501c17cb914ea7c0bba230789a9888f0b7889203 (patch)
tree88aa105427f2ca28a044ba242ecbed36ededb4d6 /tests/CanvasTest.cpp
parent1f66527ae2fb346fcad390f4e25934ccf1004996 (diff)
Revert "IWYU for some test files starting with 'C'."
This reverts commit 1a462bd0fe6fb3cd8d7aa7ad1d8290e764ac79e4. Reason for revert: Broke android. Need to run android bot for these. Original change's description: > IWYU for some test files starting with 'C'. > > Change-Id: I9a9596f7a941cdd8f01e055965c70a4b24438499 > Reviewed-on: https://skia-review.googlesource.com/113746 > Reviewed-by: Herb Derby <herb@google.com> > Commit-Queue: Ben Wagner <bungeman@google.com> TBR=bungeman@google.com,herb@google.com Change-Id: Ic63c2fcc7457e442e9b29a9ccd429927e24e3b77 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/113841 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'tests/CanvasTest.cpp')
-rw-r--r--tests/CanvasTest.cpp30
1 files changed, 7 insertions, 23 deletions
diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp
index 5169119fdd..f027071b53 100644
--- a/tests/CanvasTest.cpp
+++ b/tests/CanvasTest.cpp
@@ -46,48 +46,29 @@
*/
#include "SkBitmap.h"
-#include "SkBlendMode.h"
#include "SkCanvas.h"
-#include "SkCanvasStack.h"
-#include "SkClipOp.h"
-#include "SkClipOpPriv.h"
-#include "SkColor.h"
+#include "SkClipStack.h"
#include "SkDocument.h"
-#include "SkFlattenable.h"
-#include "SkImageFilter.h"
-#include "SkImageInfo.h"
-#include "SkMalloc.h"
#include "SkMatrix.h"
#include "SkNWayCanvas.h"
#include "SkPaint.h"
#include "SkPaintFilterCanvas.h"
#include "SkPath.h"
+#include "SkPicture.h"
+#include "SkPictureRecord.h"
#include "SkPictureRecorder.h"
-#include "SkPixmap.h"
-#include "SkPoint.h"
+#include "SkRasterClip.h"
#include "SkRect.h"
-#include "SkRefCnt.h"
#include "SkRegion.h"
-#include "SkScalar.h"
#include "SkShader.h"
-#include "SkSize.h"
#include "SkSpecialImage.h"
#include "SkStream.h"
-#include "SkString.h"
#include "SkSurface.h"
#include "SkTDArray.h"
#include "SkTemplates.h"
-#include "SkTypes.h"
#include "SkVertices.h"
#include "Test.h"
-#include <memory>
-#include <utility>
-
-class SkColorSpaceXformer;
-class SkReadBuffer;
-template <typename T> class SkTCopyOnFirstWrite;
-
DEF_TEST(canvas_clipbounds, reporter) {
SkCanvas canvas(10, 10);
SkIRect irect, irect2;
@@ -704,6 +685,9 @@ DEF_TEST(PaintFilterCanvas_ConsistentState, reporter) {
///////////////////////////////////////////////////////////////////////////////////////////////////
+#include "SkCanvasStack.h"
+#include "SkNWayCanvas.h"
+
// Subclass that takes a bool*, which it updates in its construct (true) and destructor (false)
// to allow the caller to know how long the object is alive.
class LifeLineCanvas : public SkCanvas {