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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.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/parser/CSSPropertyParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
index cf7095038d1d273068007209f0fe23ba98046f6c..9ab5508be4e6d81a7d8e8e2e796efd49e279930a 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
@@ -138,8 +138,8 @@ bool CSSPropertyParser::parseValue(CSSPropertyID unresolvedProperty, bool import
CSSValue* CSSPropertyParser::parseSingleValue(
CSSPropertyID property, const CSSParserTokenRange& range, const CSSParserContext& context)
{
- if (hasInvalidNumericValues(range))
- return nullptr;
+ // if (hasInvalidNumericValues(range))
esprehn 2016/04/22 23:30:58 I think Tab is going to remove this. Doing a scan
+ // return nullptr;
CSSPropertyParser parser(range, context, nullptr);
CSSValue* value = parser.parseSingleValue(property);
if (!value || !parser.m_range.atEnd())

Powered by Google App Engine
This is Rietveld 408576698