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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.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/CSSParserFastPaths.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
index 7c51b2eaef72e96480789f22032b1d8ea4b03576..af30a9da13034d6922aa4e83c7062f72fb1a1b0d 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp
@@ -1007,8 +1007,9 @@ static CSSValueList* parseSimpleTransformList(CharType*& pos, CharType* end)
static CSSValue* parseSimpleTransform(CSSPropertyID propertyID, const String& string)
{
+ // XXX
+ return nullptr;
ASSERT(!string.isEmpty());
-
if (propertyID != CSSPropertyTransform)
return nullptr;
if (string.is8Bit()) {

Powered by Google App Engine
This is Rietveld 408576698