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

Unified Diff: Source/core/dom/Node.h

Issue 310443002: Remove scoped styles. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix layout test Created 6 years, 7 months 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: 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);

Powered by Google App Engine
This is Rietveld 408576698