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

Unified Diff: third_party/WebKit/Source/core/css/CSSVariableData.cpp

Issue 1920583002: NOT FOR LANDING: Hack up CSSParser for speed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing consts. 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/css/CSSVariableData.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSVariableData.cpp b/third_party/WebKit/Source/core/css/CSSVariableData.cpp
index 7dfc352c77f165b761072020d85699fc48944681..577a182c91bf89fab4b080ac9e2b0ab90853330f 100644
--- a/third_party/WebKit/Source/core/css/CSSVariableData.cpp
+++ b/third_party/WebKit/Source/core/css/CSSVariableData.cpp
@@ -14,7 +14,7 @@ StylePropertySet* CSSVariableData::propertySet()
{
ASSERT(!m_needsVariableResolution);
if (!m_cachedPropertySet) {
- m_propertySet = CSSParser::parseCustomPropertySet(m_tokens);
+ m_propertySet = CSSParser::parseCustomPropertySet(CSSParserTokenRange(m_tokens.begin(), m_tokens.end()));
m_cachedPropertySet = true;
}
return m_propertySet.get();

Powered by Google App Engine
This is Rietveld 408576698