Index: debugger/SkDebugger.h |
diff --git a/debugger/SkDebugger.h b/debugger/SkDebugger.h |
index 5359b10fe96bbdc57ffb8d1fc6c5d806bff8033e..683b98d6d949eae6f859676b27aeaf560c32166c 100644 |
--- a/debugger/SkDebugger.h |
+++ b/debugger/SkDebugger.h |
@@ -44,12 +44,8 @@ public: |
fDebugCanvas->toggleCommand(index, isVisible); |
} |
- SkTArray<SkString>* getDrawCommandsAsStrings() { |
- return fDebugCanvas->getDrawCommandsAsStrings(); |
- } |
- |
- SkTDArray<size_t>* getDrawCommandOffsets() { |
- return fDebugCanvas->getDrawCommandOffsets(); |
+ SkDrawCommand* getDrawCommandAt(int index) { |
+ return fDebugCanvas->getDrawCommandAt(index); |
} |
const SkTDArray<SkDrawCommand*>& getDrawCommands() const { |
@@ -66,7 +62,7 @@ public: |
SkPicture* copyPicture(); |
- int getSize() { |
+ int getSize() const { |
return fDebugCanvas->getSize(); |
} |