aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar chudy@google.com <chudy@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-03 20:28:14 +0000
committerGravatar chudy@google.com <chudy@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-03 20:28:14 +0000
commitf14143226acf209615c4dd841aa6632aff112ab3 (patch)
tree5be6fb4ff1f3a7e67102b61644845a575c4c07d2
parentb973801328ef25105f7f3255ab912a1b675da056 (diff)
Adds missing function
Review URL: https://codereview.appspot.com/6346067 git-svn-id: http://skia.googlecode.com/svn/trunk@4459 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--debugger/SkDebugCanvas.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/debugger/SkDebugCanvas.h b/debugger/SkDebugCanvas.h
index e1bb2ab90b..4f3edb750a 100644
--- a/debugger/SkDebugCanvas.h
+++ b/debugger/SkDebugCanvas.h
@@ -70,6 +70,13 @@ public:
std::vector<std::string>* getDrawCommandsAsStrings();
/**
+ Returns length of draw command vector.
+ */
+ int getSize() {
+ return commandVector.size();
+ }
+
+ /**
Toggles the execution of the draw command at index i.
*/
void toggleCommand(int index);