diff options
author | ethannicholas <ethannicholas@google.com> | 2016-01-29 08:02:34 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-29 08:02:34 -0800 |
commit | c05f7c3d57156940bc5c27bfd01e432c0b232a39 (patch) | |
tree | 6b04483df5f49b6adda8ee4f19d0b2f31ccbc22b | |
parent | 4d9eaea1740568548c7a954fdc3b4f7ee8df1e49 (diff) |
fix for skiaserve build error
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1651443002
TBR=jcgregorio@google.com
Review URL: https://codereview.chromium.org/1651443002
-rw-r--r-- | tools/json/SkJSONRenderer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/json/SkJSONRenderer.cpp b/tools/json/SkJSONRenderer.cpp index e84a1ed692..a830fe0fb5 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(); |