aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/debugger
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-07-07 16:32:51 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-07 16:32:51 -0700
commit63f30d90498ca1a48868421b528036f3be30e2ad (patch)
treef0f68f2ba1d0eb42c9b0e036342915cf9e8a6b9b /tools/debugger
parentc42475cea23bfdb22b5d6cad6042577e47bd6a5c (diff)
fix typos and capitalization on drawTextRSXform CL
Diffstat (limited to 'tools/debugger')
-rw-r--r--tools/debugger/SkDrawCommand.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/debugger/SkDrawCommand.cpp b/tools/debugger/SkDrawCommand.cpp
index d309839564..ecd6a7003f 100644
--- a/tools/debugger/SkDrawCommand.cpp
+++ b/tools/debugger/SkDrawCommand.cpp
@@ -204,7 +204,7 @@ const char* SkDrawCommand::GetCommandString(OpType type) {
case kDrawText_OpType: return "DrawText";
case kDrawTextBlob_OpType: return "DrawTextBlob";
case kDrawTextOnPath_OpType: return "DrawTextOnPath";
- case kDrawTextRSXform_OpType: return "drawTextRSXform";
+ case kDrawTextRSXform_OpType: return "DrawTextRSXform";
case kDrawVertices_OpType: return "DrawVertices";
case kEndDrawPicture_OpType: return "EndDrawPicture";
case kRestore_OpType: return "Restore";
@@ -3037,7 +3037,7 @@ SkDrawTextOnPathCommand* SkDrawTextOnPathCommand::fromJSON(Json::Value& command,
SkDrawTextRSXformCommand::SkDrawTextRSXformCommand(const void* text, size_t byteLength,
const SkRSXform xform[], const SkRect* cull,
const SkPaint& paint)
- : INHERITED(kDrawTextOnPath_OpType)
+ : INHERITED(kDrawTextRSXform_OpType)
{
fText = new char[byteLength];
memcpy(fText, text, byteLength);