Index: src/utils/debugger/SkDrawCommand.cpp |
diff --git a/src/utils/debugger/SkDrawCommand.cpp b/src/utils/debugger/SkDrawCommand.cpp |
index e7989cc001515253bf00036c2cf2fb532782ae52..be7fdfc71674b02a232cbad3485bdbf9b2b42081 100644 |
--- a/src/utils/debugger/SkDrawCommand.cpp |
+++ b/src/utils/debugger/SkDrawCommand.cpp |
@@ -368,22 +368,6 @@ bool SkDrawBitmapRectCommand::render(SkCanvas* canvas) const { |
return true; |
} |
-SkDrawDataCommand::SkDrawDataCommand(const void* data, size_t length) |
- : INHERITED(DRAW_DATA) { |
- fData = new char[length]; |
- memcpy(fData, data, length); |
- fLength = length; |
- |
- // TODO: add display of actual data? |
- SkString* str = new SkString; |
- str->appendf("length: %d", (int) length); |
- fInfo.push(str); |
-} |
- |
-void SkDrawDataCommand::execute(SkCanvas* canvas) const { |
- canvas->drawData(fData, fLength); |
-} |
- |
SkBeginCommentGroupCommand::SkBeginCommentGroupCommand(const char* description) |
: INHERITED(BEGIN_COMMENT_GROUP) |
, fDescription(description) { |