diff options
author | reed <reed@google.com> | 2016-07-07 16:32:51 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-07 16:32:51 -0700 |
commit | 63f30d90498ca1a48868421b528036f3be30e2ad (patch) | |
tree | f0f68f2ba1d0eb42c9b0e036342915cf9e8a6b9b | |
parent | c42475cea23bfdb22b5d6cad6042577e47bd6a5c (diff) |
fix typos and capitalization on drawTextRSXform CL
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2123923006
Review-Url: https://codereview.chromium.org/2123923006
-rw-r--r-- | include/core/SkCanvas.h | 2 | ||||
-rw-r--r-- | tools/debugger/SkDrawCommand.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index 7dd0189441..10863eb823 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -992,7 +992,7 @@ public: /** * Draw the text with each character/glyph individually transformed by its xform. * If cullRect is not null, it is a conservative bounds of what will be drawn - * taking into account the xforms and the paint) and will be used to accelerate culling. + * taking into account the xforms and the paint, and will be used to accelerate culling. */ void drawTextRSXform(const void* text, size_t byteLength, const SkRSXform[], const SkRect* cullRect, const SkPaint& paint); 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); |