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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSParser.cpp

Issue 2315923002: Lazy Parse CSS (Closed)
Patch Set: plug leaks Created 4 years, 3 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/CSSParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSParser.cpp
index 42285e65050656e81e12958b3f1353f13b716343..fca7b1104bc4f8b5f3daa3f435a081f09c952604 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSParser.cpp
@@ -49,9 +49,9 @@ StyleRuleBase* CSSParser::parseRule(const CSSParserContext& context, StyleSheetC
return CSSParserImpl::parseRule(rule, context, styleSheet, CSSParserImpl::AllowImportRules);
}
-void CSSParser::parseSheet(const CSSParserContext& context, StyleSheetContents* styleSheet, const String& text)
+void CSSParser::parseSheet(const CSSParserContext& context, StyleSheetContents* styleSheet, const String& text, bool deferPropertyParsing)
{
- return CSSParserImpl::parseStyleSheet(text, context, styleSheet);
+ return CSSParserImpl::parseStyleSheet(text, context, styleSheet, deferPropertyParsing);
}
void CSSParser::parseSheetForInspector(const CSSParserContext& context, StyleSheetContents* styleSheet, const String& text, CSSParserObserver& observer)

Powered by Google App Engine
This is Rietveld 408576698