Index: third_party/WebKit/Source/core/svg/SVGParserUtilities.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGParserUtilities.cpp b/third_party/WebKit/Source/core/svg/SVGParserUtilities.cpp |
index 5cbfff52c305125b10200851eeb1c618030571f3..1cab017b16943c11c88de6d571b3c555f71aca62 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGParserUtilities.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGParserUtilities.cpp |
@@ -161,7 +161,7 @@ bool genericParseArcFlag(const CharType*& ptr, const CharType* end, bool& flag) |
{ |
if (ptr >= end) |
return false; |
- const CharType flagChar = *ptr++; |
+ const CharType flagChar = *ptr; |
if (flagChar == '0') |
flag = false; |
else if (flagChar == '1') |
@@ -169,6 +169,7 @@ bool genericParseArcFlag(const CharType*& ptr, const CharType* end, bool& flag) |
else |
return false; |
+ ptr++; |
skipOptionalSVGSpacesOrDelimiter(ptr, end); |
return true; |