Breakdown profile time by command type in the overview pane
https://codereview.appspot.com/6851073/
git-svn-id: http://skia.googlecode.com/svn/trunk@6492 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/debugger/SkDrawCommand.h b/debugger/SkDrawCommand.h
index 3334209..54fbf9e 100644
--- a/debugger/SkDrawCommand.h
+++ b/debugger/SkDrawCommand.h
@@ -37,13 +37,14 @@
virtual void execute(SkCanvas* canvas)=0;
DrawType getType() { return fDrawType; };
+ static const char* GetCommandString(DrawType type);
+
protected:
DrawType fDrawType;
SkTDArray<SkString*> fInfo;
private:
bool fVisible;
- static const char* GetCommandString(DrawType type);
};
class Restore : public SkDrawCommand {