Index: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp |
diff --git a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp |
index d83f657479a485ca74ebbbeae690c675c3dcf2c0..fad2a8a0642d040e088ab104eaa8a8e0aeb3a67a 100644 |
--- a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp |
+++ b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp |
@@ -57,7 +57,6 @@ ShadowRoot::ShadowRoot(Document& document, ShadowRootType type) |
: DocumentFragment(0, CreateShadowRoot), |
TreeScope(*this, document), |
m_styleSheetList(nullptr), |
- m_numberOfStyles(0), |
m_childShadowRootCount(0), |
m_type(static_cast<unsigned>(type)), |
m_registeredWithParentShadowRoot(false), |
@@ -205,15 +204,6 @@ void ShadowRoot::childrenChanged(const ChildrenChange& change) { |
} |
} |
-void ShadowRoot::registerScopedHTMLStyleChild() { |
- ++m_numberOfStyles; |
-} |
- |
-void ShadowRoot::unregisterScopedHTMLStyleChild() { |
- DCHECK_GT(m_numberOfStyles, 0u); |
- --m_numberOfStyles; |
-} |
- |
ShadowRootRareDataV0& ShadowRoot::ensureShadowRootRareDataV0() { |
if (m_shadowRootRareDataV0) |
return *m_shadowRootRareDataV0; |