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

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

Issue 2797953002: Revert increased limit for m_selectorIndex. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « third_party/WebKit/Source/core/css/RuleSet.h ('k') | third_party/WebKit/Source/core/css/RuleSetTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/RuleSet.cpp
diff --git a/third_party/WebKit/Source/core/css/RuleSet.cpp b/third_party/WebKit/Source/core/css/RuleSet.cpp
index 97265dd33ad1cb1f1ea279619a118076b62e8e5b..897e8b5b7898fc456531f8903ee06f13c55928a1 100644
--- a/third_party/WebKit/Source/core/css/RuleSet.cpp
+++ b/third_party/WebKit/Source/core/css/RuleSet.cpp
@@ -121,6 +121,7 @@ RuleData::RuleData(StyleRule* rule,
AddRuleFlags addRuleFlags)
: m_rule(rule),
m_selectorIndex(selectorIndex),
+ m_isLastInArray(false),
m_position(position),
m_specificity(selector().specificity()),
m_containsUncommonAttributeSelector(
@@ -129,7 +130,6 @@ RuleData::RuleData(StyleRule* rule,
m_hasDocumentSecurityOrigin(addRuleFlags & RuleHasDocumentSecurityOrigin),
m_propertyWhitelist(
determinePropertyWhitelistType(addRuleFlags, selector())),
- m_isLastInArray(false),
m_descendantSelectorIdentifierHashes() {
SelectorFilter::collectIdentifierHashes(
selector(), m_descendantSelectorIdentifierHashes, maximumIdentifierCount);
« no previous file with comments | « third_party/WebKit/Source/core/css/RuleSet.h ('k') | third_party/WebKit/Source/core/css/RuleSetTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698