aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-05-17 06:16:58 -0400
committerGravatar Mike Reed <reed@google.com>2017-05-17 10:22:08 +0000
commit037d78f84134de6f24ad0df2faa4d6ff0e185790 (patch)
tree5c231e91f6c3be75f3642b826702ae69a2f3fc7a /include
parent4b30fd8a4ce07ca4b058a5458bc5663c69f45930 (diff)
add guard for extra includes
Bug: skia: Change-Id: Id500cb6ac6c2f4a925135a8e83ed4f2a07b73661 Reviewed-on: https://skia-review.googlesource.com/17162 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/core/SkPictureRecorder.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h
index 09839cba5e..a6efd2b5c5 100644
--- a/include/core/SkPictureRecorder.h
+++ b/include/core/SkPictureRecorder.h
@@ -12,6 +12,12 @@
#include "SkPicture.h"
#include "SkRefCnt.h"
+#ifdef SK_SUPPORT_PICTURERECORDER_INCLUDES
+// these are not strictly necessary, but can't remove them until we update clients
+#include "SkRSXform.h"
+#include "SkImage.h"
+#endif
+
#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
namespace android {
class Picture;