Index: Source/core/dom/Node.h |
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h |
index 557103e8988fbcec3e3ac068df124686c2efdb2e..a780e707350e9980e24ffab0ac43450bd877984e 100644 |
--- a/Source/core/dom/Node.h |
+++ b/Source/core/dom/Node.h |
@@ -379,7 +379,7 @@ public: |
void setIsLink(bool f); |
bool hasScopedHTMLStyleChild() const { return getFlag(HasScopedHTMLStyleChildFlag); } |
- void setHasScopedHTMLStyleChild(bool flag) { setFlag(flag, HasScopedHTMLStyleChildFlag); } |
+ void setHasScopedHTMLStyleChild(bool flag) { ASSERT(isShadowRoot()); setFlag(flag, HasScopedHTMLStyleChildFlag); } |
bool hasEventTargetData() const { return getFlag(HasEventTargetDataFlag); } |
void setHasEventTargetData(bool flag) { setFlag(flag, HasEventTargetDataFlag); } |
@@ -655,10 +655,6 @@ public: |
void unregisterTransientMutationObserver(MutationObserverRegistration*); |
void notifyMutationObserversNodeWillDetach(); |
- virtual void registerScopedHTMLStyleChild(); |
- virtual void unregisterScopedHTMLStyleChild(); |
- size_t numberOfScopedHTMLStyleChildren() const; |
- |
unsigned connectedSubframeCount() const; |
void incrementConnectedSubframeCount(unsigned amount = 1); |
void decrementConnectedSubframeCount(unsigned amount = 1); |