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

Unified Diff: Source/core/dom/Element.h

Issue 201153006: Move element flags from ElementRareData to NodeRareData (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased (another ElementFlag added upstream) Created 6 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 | « no previous file | Source/core/dom/ElementRareData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index 29fb8ab390db2463465ee7f931a010c38e3c7eee..dacc3b14ae741ae68ce44a9abb3a2433c436fa5e 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -94,6 +94,8 @@ enum ElementFlags {
ChildrenAffectedByForwardPositionalRules = 1 << 15,
ChildrenAffectedByBackwardPositionalRules = 1 << 16,
+ NumberOfElementFlags = 17, // Required size of bitfield used to store the flags.
+
// If any of these flags are set we cannot share style.
ElementFlagsPreventingStyleSharing =
ChildrenAffectedByFocus
« no previous file with comments | « no previous file | Source/core/dom/ElementRareData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698