diff options
author | Doris Liu <tianliu@google.com> | 2016-04-12 11:06:23 -0700 |
---|---|---|
committer | Doris Liu <tianliu@google.com> | 2016-04-12 21:38:07 +0000 |
commit | b35da390601e3c24e777d72daacd8dbeb4d1d9c4 (patch) | |
tree | 5949f592804c952b814cda6d154ab91eff2d864e /libs/hwui/VectorDrawable.cpp | |
parent | d92e5c314e1a3ffa0bc6daf43e4e9cec2521d217 (diff) |
Allow leading spaces in path string (to keep behavior consistent)
Bug: 28132454
Change-Id: Iee799c13a85738db3d6940aca0fe917f284fa651
Diffstat (limited to 'libs/hwui/VectorDrawable.cpp')
-rw-r--r-- | libs/hwui/VectorDrawable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/VectorDrawable.cpp b/libs/hwui/VectorDrawable.cpp index adfe45c64885..ac17ed2eb735 100644 --- a/libs/hwui/VectorDrawable.cpp +++ b/libs/hwui/VectorDrawable.cpp @@ -96,7 +96,7 @@ float Path::getMatrixScale(const SkMatrix& groupStackedMatrix) { Path::Path(const char* pathStr, size_t strLength) { PathParser::ParseResult result; Data data; - PathParser::getPathDataFromString(&data, &result, pathStr, strLength); + PathParser::getPathDataFromAsciiString(&data, &result, pathStr, strLength); mStagingProperties.setData(data); } |