summaryrefslogtreecommitdiff
path: root/libs/hwui/VectorDrawable.cpp
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2016-04-12 11:06:23 -0700
committerDoris Liu <tianliu@google.com>2016-04-12 21:38:07 +0000
commitb35da390601e3c24e777d72daacd8dbeb4d1d9c4 (patch)
tree5949f592804c952b814cda6d154ab91eff2d864e /libs/hwui/VectorDrawable.cpp
parentd92e5c314e1a3ffa0bc6daf43e4e9cec2521d217 (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.cpp2
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);
}