summaryrefslogtreecommitdiff
path: root/libs/hwui/PathParser.h
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/PathParser.h
parentd92e5c314e1a3ffa0bc6daf43e4e9cec2521d217 (diff)
Allow leading spaces in path string (to keep behavior consistent)
Bug: 28132454 Change-Id: Iee799c13a85738db3d6940aca0fe917f284fa651
Diffstat (limited to 'libs/hwui/PathParser.h')
-rw-r--r--libs/hwui/PathParser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/PathParser.h b/libs/hwui/PathParser.h
index 180a7a30f8e8..5578e8d42e2f 100644
--- a/libs/hwui/PathParser.h
+++ b/libs/hwui/PathParser.h
@@ -39,9 +39,9 @@ public:
/**
* Parse the string literal and create a Skia Path. Return true on success.
*/
- ANDROID_API static void parseStringForSkPath(SkPath* outPath, ParseResult* result,
+ ANDROID_API static void parseAsciiStringForSkPath(SkPath* outPath, ParseResult* result,
const char* pathStr, size_t strLength);
- ANDROID_API static void getPathDataFromString(PathData* outData, ParseResult* result,
+ ANDROID_API static void getPathDataFromAsciiString(PathData* outData, ParseResult* result,
const char* pathStr, size_t strLength);
static void dump(const PathData& data);
static bool isVerbValid(char verb);