Fixed references to MakeMatrix function
authorethannicholas <ethannicholas@google.com>
Thu, 4 Feb 2016 19:19:40 +0000 (11:19 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 4 Feb 2016 19:19:40 +0000 (11:19 -0800)
TBR=joshualitt@chromium.org
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1666213002

Review URL: https://codereview.chromium.org/1666213002

tools/json/SkJSONCanvas.cpp

index 3c6fa05..3a6a269 100644 (file)
@@ -533,7 +533,7 @@ void SkJSONCanvas::didConcat(const SkMatrix& matrix) {
 void SkJSONCanvas::didSetMatrix(const SkMatrix& matrix) {
     Json::Value command(Json::objectValue);
     command[SKJSONCANVAS_COMMAND] = Json::Value(SKJSONCANVAS_COMMAND_MATRIX);
-    command[SKJSONCANVAS_ATTRIBUTE_MATRIX] = this->makeMatrix(matrix);
+    command[SKJSONCANVAS_ATTRIBUTE_MATRIX] = this->MakeMatrix(matrix);
     fCommands.append(command);
 }
 
@@ -748,7 +748,7 @@ void SkJSONCanvas::onDrawTextOnPath(const void* text, size_t byteLength,
                                                        ((const char*) text) + byteLength);
     command[SKJSONCANVAS_ATTRIBUTE_PATH] = this->makePath(path);
     if (matrix != nullptr) {
-        command[SKJSONCANVAS_ATTRIBUTE_MATRIX] = this->makeMatrix(*matrix);
+        command[SKJSONCANVAS_ATTRIBUTE_MATRIX] = this->MakeMatrix(*matrix);
     }
     command[SKJSONCANVAS_ATTRIBUTE_PAINT] = this->makePaint(paint);
     fCommands.append(command);