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

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

Issue 2488633002: Remove ShadowRoot::numberOfStyles(). (Closed)
Patch Set: 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 5b95e1925395597097e8edd45e60d47b177fdfd2..2876c89096620cd4448d5027e8bc74be00b743dc 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