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
This commit is contained in:
reed 2016-07-07 16:32:51 -07:00 committed by Commit bot
parent c42475cea2
commit 63f30d9049
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);