Index: Source/core/dom/Node.h |
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h |
index 16fb5c966e55274ce3267345597fc95e0dad1d42..6b572de9bb53c3a004aacb8a628dd61eedb62f53 100644 |
--- a/Source/core/dom/Node.h |
+++ b/Source/core/dom/Node.h |
@@ -375,7 +375,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); } |
@@ -651,10 +651,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); |