aboutsummaryrefslogtreecommitdiffhomepage
path: root/debugger/SkDebugger.h
diff options
context:
space:
mode:
authorGravatar chudy@google.com <chudy@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-07 20:41:37 +0000
committerGravatar chudy@google.com <chudy@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-07 20:41:37 +0000
commit97cee9735350cb472249ce1a827ba1aa6b2a5f59 (patch)
tree535f6616c4f2a7e12672d5b434513b775960db2a /debugger/SkDebugger.h
parent21830d90096d2dccc4168d99a427e78035ce942a (diff)
Replaced all instances of std strings and vectors in favor of SkStrings and SkTDArrays within skia code
Review URL: https://codereview.appspot.com/6445088 git-svn-id: http://skia.googlecode.com/svn/trunk@4995 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'debugger/SkDebugger.h')
-rw-r--r--debugger/SkDebugger.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/debugger/SkDebugger.h b/debugger/SkDebugger.h
index eb724f3822..67fa6a0f5e 100644
--- a/debugger/SkDebugger.h
+++ b/debugger/SkDebugger.h
@@ -41,8 +41,7 @@ public:
fDebugCanvas->toggleCommand(index, isVisible);
}
- // TODO(chudy): Replace with SkTDArray
- std::vector<std::string>* getDrawCommands() {
+ SkTDArray<SkString*>* getDrawCommands() {
return fDebugCanvas->getDrawCommandsAsStrings();
}
@@ -75,7 +74,7 @@ public:
return fDebugCanvas->getCommandAtPoint(x, y, index);
}
- std::vector<std::string>* getCommandInfo(int index) {
+ SkTDArray<SkString*>* getCommandInfo(int index) {
return fDebugCanvas->getCommandInfo(index);
}