aboutsummaryrefslogtreecommitdiffhomepage
path: root/debugger/SkDebugCanvas.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-11 22:53:11 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-11 22:53:11 +0000
commitfebc0ec41b4cff6ea69f2b89d72c0d330d198283 (patch)
tree1abf2edbdde7b572077ee45e405ee3526599ea36 /debugger/SkDebugCanvas.cpp
parent512977aead6e6b7483a4cb4866b3df435ca78214 (diff)
Add misc. optimizations to filter tool
Diffstat (limited to 'debugger/SkDebugCanvas.cpp')
-rw-r--r--debugger/SkDebugCanvas.cpp4
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());