commit | f14143226acf209615c4dd841aa6632aff112ab3 | [log] [tgz] |
---|---|---|
author | chudy@google.com <chudy@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Jul 03 20:28:14 2012 +0000 |
committer | chudy@google.com <chudy@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Jul 03 20:28:14 2012 +0000 |
tree | 5be6fb4ff1f3a7e67102b61644845a575c4c07d2 | |
parent | b973801328ef25105f7f3255ab912a1b675da056 [diff] [blame] |
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
diff --git a/debugger/SkDebugCanvas.h b/debugger/SkDebugCanvas.h index e1bb2ab..4f3edb7 100644 --- a/debugger/SkDebugCanvas.h +++ b/debugger/SkDebugCanvas.h
@@ -70,6 +70,13 @@ 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);