From b35da390601e3c24e777d72daacd8dbeb4d1d9c4 Mon Sep 17 00:00:00 2001 From: Doris Liu Date: Tue, 12 Apr 2016 11:06:23 -0700 Subject: Allow leading spaces in path string (to keep behavior consistent) Bug: 28132454 Change-Id: Iee799c13a85738db3d6940aca0fe917f284fa651 --- libs/hwui/PathParser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/hwui/PathParser.h') 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); -- cgit v1.2.3-59-g8ed1b