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

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

Issue 1863793003: Make CSSValuePool thread local to ensure correct parsing in colors on workers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase with master Created 4 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
Index: third_party/WebKit/Source/core/svg/SVGAnimatedColor.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedColor.cpp b/third_party/WebKit/Source/core/svg/SVGAnimatedColor.cpp
index 2c522865d698c27f1861a0a419f775aeab9d5465..bf55533862403e841fd2ffce7bb2533fc679cb2c 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedColor.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedColor.cpp
@@ -31,7 +31,7 @@ SVGColorProperty::SVGColorProperty(const String& colorString)
, m_styleColor(StyleColor::currentColor())
{
Color color;
- if (CSSParser::parseColor(color, colorString.stripWhiteSpace()))
+ if (CSSParser::parseColor(color, colorString.stripWhiteSpace(), nullptr))
m_styleColor = color;
}
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLBodyElement.cpp ('k') | third_party/WebKit/Source/modules/canvas2d/CanvasStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698