Index: tools/debugger/SkDebugCanvas.h |
diff --git a/tools/debugger/SkDebugCanvas.h b/tools/debugger/SkDebugCanvas.h |
index 505b5c79fac684447feb36cb6b678df19911c0bd..339e7add4aa20df5117b15af68cb1b06ee6f8ec7 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 |