aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/CanvasTest.cpp
diff options
context:
space:
mode:
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 {