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

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

Issue 2533093002: [LazyParseCSS] Add histogram for rule usage % (Closed)
Patch Set: timloh review + add test Created 4 years 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/CSSLazyPropertyParserImpl.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSLazyPropertyParserImpl.cpp b/third_party/WebKit/Source/core/css/parser/CSSLazyPropertyParserImpl.cpp
index b075466f66a3946b36cd5336e14235789bf31e8b..7431d1176b3fe0d5ec14f158b6ee2b4f09a2244d 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSLazyPropertyParserImpl.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSLazyPropertyParserImpl.cpp
@@ -19,6 +19,7 @@ CSSLazyPropertyParserImpl::CSSLazyPropertyParserImpl(CSSParserTokenRange block,
}
StylePropertySet* CSSLazyPropertyParserImpl::parseProperties() {
+ m_lazyState->countRuleParsed();
return CSSParserImpl::parseDeclarationListForLazyStyle(
m_tokens, m_lazyState->context());
}

Powered by Google App Engine
This is Rietveld 408576698