diff options
author | 2016-02-11 07:09:51 -0800 | |
---|---|---|
committer | 2016-02-11 07:09:51 -0800 | |
commit | db6a254bdcf6884db172f716966d7787e0d6f264 (patch) | |
tree | 41b26c2735e1b65adabbe870c0b6b0237b55280a /tools/debugger/SkDebugCanvas.h | |
parent | 860fc696d7020e59904f15a7d89b596a135bade8 (diff) |
wire up new json code in skiaserve
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1691773002
Review URL: https://codereview.chromium.org/1691773002
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 |