diff options
author | Mike Reed <reed@google.com> | 2017-05-16 10:39:06 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-16 21:29:03 +0000 |
commit | c090c647e48f8f9adc199fe715c773a33980f1d4 (patch) | |
tree | 683deec9b22dab375f03b8c18ca6f5e0cb8d1156 /include/core/SkPictureRecorder.h | |
parent | 50e66d4ab43685acce5a7a942074d562c5fd9639 (diff) |
move files out of private, and fix up callers to IWYU
Realized that a pending CL needed to add (yet another) private type to SkRecords.h, but w/o this CL I'd be forced to move that header also into private. This change frees us up to not have transitive exposure for types that need to be recorded.
Bug: skia:
Change-Id: Id79f1c2e44ba85e063c1360cf96c92de6397ca2b
Reviewed-on: https://skia-review.googlesource.com/17031
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'include/core/SkPictureRecorder.h')
-rw-r--r-- | include/core/SkPictureRecorder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h index d898b91cca..09839cba5e 100644 --- a/include/core/SkPictureRecorder.h +++ b/include/core/SkPictureRecorder.h @@ -8,7 +8,6 @@ #ifndef SkPictureRecorder_DEFINED #define SkPictureRecorder_DEFINED -#include "../private/SkMiniRecorder.h" #include "SkBBHFactory.h" #include "SkPicture.h" #include "SkRefCnt.h" @@ -22,6 +21,7 @@ namespace android { class GrContext; class SkCanvas; class SkDrawable; +class SkMiniRecorder; class SkPictureRecord; class SkRecord; class SkRecorder; @@ -116,7 +116,7 @@ private: sk_sp<SkBBoxHierarchy> fBBH; std::unique_ptr<SkRecorder> fRecorder; sk_sp<SkRecord> fRecord; - SkMiniRecorder fMiniRecorder; + std::unique_ptr<SkMiniRecorder> fMiniRecorder; typedef SkNoncopyable INHERITED; }; |