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

Unified Diff: third_party/WebKit/Source/web/WebCSSParser.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/web/WebCSSParser.cpp
diff --git a/third_party/WebKit/Source/web/WebCSSParser.cpp b/third_party/WebKit/Source/web/WebCSSParser.cpp
index 9082507340c77d21f184994792b5c625daf06ab5..0bc4c0cf9cb8ce73319b8dc56f75108d147d6dfd 100644
--- a/third_party/WebKit/Source/web/WebCSSParser.cpp
+++ b/third_party/WebKit/Source/web/WebCSSParser.cpp
@@ -12,7 +12,7 @@ namespace blink {
bool WebCSSParser::parseColor(WebColor* webColor, const WebString& colorString)
{
Color color = Color(*webColor);
- bool success = CSSParser::parseColor(color, colorString, true);
+ bool success = CSSParser::parseColor(color, colorString, nullptr, true);
*webColor = color.rgb();
return success;
}

Powered by Google App Engine
This is Rietveld 408576698