Index: tools/debugger/SkDrawCommand.h |
diff --git a/tools/debugger/SkDrawCommand.h b/tools/debugger/SkDrawCommand.h |
index 74c2b2c69eff2442d0c23baef17a805432ba3b65..a2835dc6e7250d6aedbe425925c1565c823deafe 100644 |
--- a/tools/debugger/SkDrawCommand.h |
+++ b/tools/debugger/SkDrawCommand.h |
@@ -113,6 +113,10 @@ public: |
static const char* GetCommandString(OpType type); |
+ // Helper methods for converting things to JSON |
+ static Json::Value MakeJsonIRect(const SkIRect&); |
+ static Json::Value MakeJsonMatrix(const SkMatrix&); |
+ |
protected: |
SkTDArray<SkString*> fInfo; |