Index: src/utils/debugger/SkDebugCanvas.cpp |
diff --git a/src/utils/debugger/SkDebugCanvas.cpp b/src/utils/debugger/SkDebugCanvas.cpp |
index f2f92b8492bff3de5ebd9c3cb1e2ae538fa947a8..46c0b8b472a6bf347d0909369574e8fe74bf3896 100644 |
--- a/src/utils/debugger/SkDebugCanvas.cpp |
+++ b/src/utils/debugger/SkDebugCanvas.cpp |
@@ -388,27 +388,6 @@ SkTDArray <SkDrawCommand*>& SkDebugCanvas::getDrawCommands() { |
return fCommandVector; |
} |
-// TODO(chudy): Free command string memory. |
-SkTArray<SkString>* SkDebugCanvas::getDrawCommandsAsStrings() const { |
- SkTArray<SkString>* commandString = new SkTArray<SkString>(fCommandVector.count()); |
- if (!fCommandVector.isEmpty()) { |
- for (int i = 0; i < fCommandVector.count(); i ++) { |
- commandString->push_back() = fCommandVector[i]->toString(); |
- } |
- } |
- return commandString; |
-} |
- |
-SkTDArray<size_t>* SkDebugCanvas::getDrawCommandOffsets() const { |
- SkTDArray<size_t>* commandOffsets = new SkTDArray<size_t>; |
- if (!fCommandVector.isEmpty()) { |
- for (int i = 0; i < fCommandVector.count(); i ++) { |
- *commandOffsets->push() = fCommandVector[i]->offset(); |
- } |
- } |
- return commandOffsets; |
-} |
- |
void SkDebugCanvas::overrideTexFiltering(bool overrideTexFiltering, SkPaint::FilterLevel level) { |
if (NULL == fTexOverrideFilter) { |
fTexOverrideFilter = new SkTexOverrideFilter; |