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

Unified Diff: Source/core/css/parser/CSSPropertyParser.cpp

Issue 369313002: m_parsedCalculation has to be cleared between parsing cubic-bezier() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Test update Created 6 years, 5 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 | « LayoutTests/fast/css/cubic-bezier-with-multiple-calcs-crash-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSPropertyParser.cpp
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp
index 9184b4eb5a3a0bcc63e2db3ab57886d4867a4a64..15c2162d31dceb8991097232b6bad28ff2a90ba8 100644
--- a/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/Source/core/css/parser/CSSPropertyParser.cpp
@@ -3120,7 +3120,7 @@ bool CSSPropertyParser::parseCubicBezierTimingFunctionValue(CSSParserValueList*&
CSSParserValue* v = args->current();
if (!validUnit(v, FNumber))
return false;
- result = v->fValue;
+ result = parsedDouble(v, ReleaseParsedCalcValue);
v = args->next();
if (!v)
// The last number in the function has no comma after it, so we're done.
« no previous file with comments | « LayoutTests/fast/css/cubic-bezier-with-multiple-calcs-crash-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698