diff options
Diffstat (limited to 'tools/debugger/SkDebugCanvas.h')
-rw-r--r-- | tools/debugger/SkDebugCanvas.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/debugger/SkDebugCanvas.h b/tools/debugger/SkDebugCanvas.h index 505b5c79fa..339e7add4a 100644 --- a/tools/debugger/SkDebugCanvas.h +++ b/tools/debugger/SkDebugCanvas.h @@ -141,10 +141,11 @@ public: SkString clipStackData() const { return fClipStackData; } /** - Returns a JSON object representing all of the draws. The encoder may use the UrlDataManager - to store binary data such as images, referring to them via URLs embedded in the JSON. + Returns a JSON object representing up to N draws, where N is < SkDebugCanvas::getSize(). + The encoder may use the UrlDataManager to store binary data such as images, referring to + them via URLs embedded in the JSON. */ - Json::Value toJSON(UrlDataManager& urlDataManager); + Json::Value toJSON(UrlDataManager& urlDataManager, int n); //////////////////////////////////////////////////////////////////////////////// // Inherited from SkCanvas |