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

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

Issue 2785103004: Added available bit to m_selectorIndex. (Closed)
Patch Set: Prefer unit test. Created 3 years, 9 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 8885cbdbd354535664a9b14cd8f2ca7a7b2038ef..4cd1505e63f0d3d64fcf32b141a3f8a9b516a6d6 100644
--- a/third_party/WebKit/Source/core/css/RuleSet.cpp
+++ b/third_party/WebKit/Source/core/css/RuleSet.cpp
@@ -121,7 +121,6 @@ RuleData::RuleData(StyleRule* rule,
AddRuleFlags addRuleFlags)
: m_rule(rule),
m_selectorIndex(selectorIndex),
- m_isLastInArray(false),
m_position(position),
m_specificity(selector().specificity()),
m_containsUncommonAttributeSelector(
@@ -130,6 +129,7 @@ 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