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
diff --git a/debugger/SkDrawCommand.h b/debugger/SkDrawCommand.h
index f09dae9..33b735e 100644
--- a/debugger/SkDrawCommand.h
+++ b/debugger/SkDrawCommand.h
@@ -9,11 +9,8 @@
#ifndef SKDRAWCOMMAND_H_
#define SKDRAWCOMMAND_H_
-#include <iostream>
#include "SkPictureFlat.h"
#include "SkCanvas.h"
-#include <sstream>
-#include <vector>
class SkDrawCommand {
public:
@@ -22,7 +19,7 @@
virtual ~SkDrawCommand();
- virtual std::string toString();
+ virtual SkString toString();
virtual const char* toCString() {
return GetCommandString(fDrawType);
@@ -36,13 +33,13 @@
fVisible = toggle;
}
- std::vector<std::string>* Info() {return &fInfo; };
+ SkTDArray<SkString*>* Info() {return &fInfo; };
virtual void execute(SkCanvas* canvas)=0;
DrawType getType() { return fDrawType; };
protected:
DrawType fDrawType;
- std::vector<std::string> fInfo;
+ SkTDArray<SkString*> fInfo;
private:
bool fVisible;