aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/CanvasStateHelpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/CanvasStateHelpers.cpp')
-rw-r--r--tests/CanvasStateHelpers.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/CanvasStateHelpers.cpp b/tests/CanvasStateHelpers.cpp
index 1547d2f8e0..e84615d73f 100644
--- a/tests/CanvasStateHelpers.cpp
+++ b/tests/CanvasStateHelpers.cpp
@@ -5,13 +5,19 @@
* found in the LICENSE file.
*/
-#include "CanvasStateHelpers.h"
+#include "SkTypes.h"
#ifdef SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG
+#include "CanvasStateHelpers.h"
#include "SkCanvas.h"
#include "SkCanvasStateUtils.h"
+#include "SkClipOp.h"
+#include "SkColor.h"
#include "SkPaint.h"
#include "SkRect.h"
#include "SkRegion.h"
+#include "SkScalar.h"
+
+#include <memory>
void complex_layers_draw(SkCanvas* canvas, float left, float top,
float right, float bottom, int32_t spacer) {