| Index: tools/json/SkJSONRenderer.cpp
|
| diff --git a/tools/json/SkJSONRenderer.cpp b/tools/json/SkJSONRenderer.cpp
|
| index e84a1ed69200be82397c266c9900a66dfef57e50..a830fe0fb5f84cb79cc91c975e8bca9e9b57d59b 100644
|
| --- a/tools/json/SkJSONRenderer.cpp
|
| +++ b/tools/json/SkJSONRenderer.cpp
|
| @@ -197,6 +197,7 @@ void Renderer::getPaint(Json::Value& command, SkPaint* result) {
|
| SkASSERT(false);
|
| textAlign = SkPaint::kLeft_Align;
|
| }
|
| + result->setTextAlign(textAlign);
|
| }
|
| if (jsonPaint.isMember(SKJSONCANVAS_ATTRIBUTE_TEXTSIZE)) {
|
| float textSize = jsonPaint[SKJSONCANVAS_ATTRIBUTE_TEXTSIZE].asFloat();
|
|
|