aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-09-15 12:53:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-15 12:53:07 -0700
commit435657fd62960ceffb1c3c63f63e836373560bc5 (patch)
tree5b89d11067dc1a7780ed3298c57d1fd614d572bf /tests
parent98ed7b6d01c16ad9ace652ec25861689d765d0b5 (diff)
Forward declare SkStrokeRec in SkPathEffect
Diffstat (limited to 'tests')
-rw-r--r--tests/DashPathEffectTest.cpp1
-rw-r--r--tests/DrawPathTest.cpp1
-rw-r--r--tests/PathTest.cpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/DashPathEffectTest.cpp b/tests/DashPathEffectTest.cpp
index d7c3d1d8d4..6639ec7b40 100644
--- a/tests/DashPathEffectTest.cpp
+++ b/tests/DashPathEffectTest.cpp
@@ -9,6 +9,7 @@
#include "SkDashPathEffect.h"
#include "SkWriteBuffer.h"
+#include "SkStrokeRec.h"
// crbug.com/348821 was rooted in SkDashPathEffect refusing to flatten and unflatten itself when
// fInitialDashLength < 0 (a signal the effect is nonsense). Here we test that it flattens.
diff --git a/tests/DrawPathTest.cpp b/tests/DrawPathTest.cpp
index 4351faf70e..e5d50d33d7 100644
--- a/tests/DrawPathTest.cpp
+++ b/tests/DrawPathTest.cpp
@@ -8,6 +8,7 @@
#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkDashPathEffect.h"
+#include "SkStrokeRec.h"
#include "SkSurface.h"
#include "Test.h"
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp
index cd9e8847a1..9c3bcced9a 100644
--- a/tests/PathTest.cpp
+++ b/tests/PathTest.cpp
@@ -16,6 +16,7 @@
#include "SkReader32.h"
#include "SkSize.h"
#include "SkStream.h"
+#include "SkStrokeRec.h"
#include "SkSurface.h"
#include "SkTypes.h"
#include "SkWriter32.h"