Index: tools/debugger/SkDrawCommand.h |
diff --git a/tools/debugger/SkDrawCommand.h b/tools/debugger/SkDrawCommand.h |
index ff1e1c52481ab1a9669e926b7d65861a648bc489..34832a7cf1b66a40df38fa14f0161dce97198fcc 100644 |
--- a/tools/debugger/SkDrawCommand.h |
+++ b/tools/debugger/SkDrawCommand.h |
@@ -102,6 +102,8 @@ public: |
virtual Json::Value toJSON(UrlDataManager& urlDataManager) const; |
+ Json::Value drawToAndCollectJSON(SkCanvas*, UrlDataManager& urlDataManager) const; |
+ |
/* Converts a JSON representation of a command into a newly-allocated SkDrawCommand object. It |
* is the caller's responsibility to delete this object. This method may return null if an error |
* occurs. |