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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h

Issue 2472613004: Remove ShadowRoot::numberOfStyles(). (Closed)
Patch Set: Rebased Created 4 years, 1 month 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/dom/shadow/ShadowRoot.h
diff --git a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h
index 9e60eb74cb354f7c6e79f9bd2a47c73d245d7c7b..cbfc13967e6cb2036d0382f6b3b6ad89e0e97bb8 100644
--- a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h
+++ b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h
@@ -117,7 +117,6 @@ class CORE_EXPORT ShadowRoot final : public DocumentFragment, public TreeScope {
// For Internals, don't use this.
unsigned childShadowRootCount() const { return m_childShadowRootCount; }
- unsigned numberOfStyles() const { return m_numberOfStyles; }
void recalcStyle(StyleRecalcChange);
@@ -170,7 +169,6 @@ class CORE_EXPORT ShadowRoot final : public DocumentFragment, public TreeScope {
Member<ShadowRootRareDataV0> m_shadowRootRareDataV0;
Member<StyleSheetList> m_styleSheetList;
Member<SlotAssignment> m_slotAssignment;
- unsigned m_numberOfStyles : 14;
unsigned m_childShadowRootCount : 13;
unsigned m_type : 2;
unsigned m_registeredWithParentShadowRoot : 1;
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleElement.cpp ('k') | third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698