diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-11 22:53:11 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-11 22:53:11 +0000 |
commit | febc0ec41b4cff6ea69f2b89d72c0d330d198283 (patch) | |
tree | 1abf2edbdde7b572077ee45e405ee3526599ea36 /debugger/SkDebugCanvas.cpp | |
parent | 512977aead6e6b7483a4cb4866b3df435ca78214 (diff) |
Add misc. optimizations to filter tool
https://codereview.appspot.com/7705043/
git-svn-id: http://skia.googlecode.com/svn/trunk@8087 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'debugger/SkDebugCanvas.cpp')
-rw-r--r-- | debugger/SkDebugCanvas.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debugger/SkDebugCanvas.cpp b/debugger/SkDebugCanvas.cpp index 4e71bc340f..e8589f3b54 100644 --- a/debugger/SkDebugCanvas.cpp +++ b/debugger/SkDebugCanvas.cpp @@ -226,6 +226,10 @@ const SkTDArray <SkDrawCommand*>& SkDebugCanvas::getDrawCommands() const { return fCommandVector; } +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()); |