| Index: tools/debugger/SkDrawCommand.cpp
|
| diff --git a/tools/debugger/SkDrawCommand.cpp b/tools/debugger/SkDrawCommand.cpp
|
| index b46e4925a3b25cf968485d460f493d7f368802f2..5ca725088ab9e6a2efb43fd47abac81cb9ce5954 100644
|
| --- a/tools/debugger/SkDrawCommand.cpp
|
| +++ b/tools/debugger/SkDrawCommand.cpp
|
| @@ -236,8 +236,9 @@ Json::Value SkDrawCommand::drawToAndCollectJSON(SkCanvas* canvas,
|
| if (rt) {
|
| GrContext* ctx = rt->getContext();
|
| if(ctx) {
|
| - this->execute(canvas);
|
| GrAuditTrail* at = ctx->getAuditTrail();
|
| + GrAuditTrail::AutoEnable enable(at);
|
| + this->execute(canvas);
|
|
|
| // TODO if this is inefficient we could add a method to GrAuditTrail which takes
|
| // a Json::Value and is only compiled in this file
|
|
|