commit | d6841487eb8e47d977f84a91b94f4577851b87d4 | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Fri Feb 08 10:29:20 2019 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Feb 08 16:07:56 2019 +0000 |
tree | d33b0936f97f384d9f63921eb12b5756f43296bd | |
parent | a5ab35cc0e1ae2d3861f82b2ad73c240afc67c40 [diff] [blame] |
Move auditTrail and opMemoryPool from GrContext to GrRecordingContext Any context that records ops (i.e., direct and/or DDL) will need these two objects. Change-Id: Ifd3527c23a4015f7d469ad2222563508cccbd339 Reviewed-on: https://skia-review.googlesource.com/c/190307 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
diff --git a/tools/debugger/SkDebugCanvas.cpp b/tools/debugger/SkDebugCanvas.cpp index cbb420c..3a4522f 100644 --- a/tools/debugger/SkDebugCanvas.cpp +++ b/tools/debugger/SkDebugCanvas.cpp
@@ -218,7 +218,7 @@ GrAuditTrail* at = nullptr; GrContext* ctx = canvas->getGrContext(); if (ctx) { - at = ctx->priv().getAuditTrail(); + at = ctx->priv().auditTrail(); } return at; }