From c05f7c3d57156940bc5c27bfd01e432c0b232a39 Mon Sep 17 00:00:00 2001 From: ethannicholas Date: Fri, 29 Jan 2016 08:02:34 -0800 Subject: 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 --- tools/json/SkJSONRenderer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') 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(); -- cgit v1.2.3