aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/DumpRecord.cpp
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2018-06-11 16:25:43 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-12 13:56:33 +0000
commitefd99cc92817710117db9924772943b8b78c2fe5 (patch)
tree255256584f7d3d326736c3cc345b9d6c2850bdb2 /tools/DumpRecord.cpp
parente73d7d84d7702d4b3d4a938f8b18d12924889d7b (diff)
clean up SkPicture include
Get SkPicture.h ready for documenting. - remove private methods - move private forward declarations - name parameters R=reed@google.com, bsalomon@google.com Bug: skia:6898 Change-Id: I28829111203d8ae2a4661cf02c99023403aa0df0 Reviewed-on: https://skia-review.googlesource.com/134120 Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Cary Clark <caryclark@skia.org> Commit-Queue: Cary Clark <caryclark@google.com>
Diffstat (limited to 'tools/DumpRecord.cpp')
-rw-r--r--tools/DumpRecord.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/DumpRecord.cpp b/tools/DumpRecord.cpp
index e9374fd41a..4c9b1f3b46 100644
--- a/tools/DumpRecord.cpp
+++ b/tools/DumpRecord.cpp
@@ -7,6 +7,7 @@
#include <stdio.h>
+#include "SkPicturePriv.h"
#include "SkRecord.h"
#include "SkRecordDraw.h"
@@ -63,7 +64,7 @@ public:
void print(const SkRecords::DrawPicture& command, double ns) {
this->printNameAndTime(command, ns);
- if (auto bp = command.picture->asSkBigPicture()) {
+ if (auto bp = SkPicturePriv::AsSkBigPicture(command.picture)) {
++fIndent;
const SkRecord& record = *bp->record();