Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(340)

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp

Issue 2807193003: Strip only ASCII spaces from SMIL 'values' attributes (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/animations/animate-values-whitespace.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp b/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
index a5ddaddee61ea89edcde37695c02ddd4055a49f3..7daff2e083803e10b7fddf5b8a69a0cfc22a746e 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
@@ -59,7 +59,7 @@ bool SVGAnimationElement::ParseValues(const String& value,
if (i < last)
goto fail;
} else {
- parse_list[i] = parse_list[i].StripWhiteSpace();
+ parse_list[i] = parse_list[i].StripWhiteSpace(IsHTMLSpace<UChar>);
result.push_back(parse_list[i]);
}
}
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/animations/animate-values-whitespace.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698