Index: Source/core/dom/shadow/ShadowRoot.h |
diff --git a/Source/core/dom/shadow/ShadowRoot.h b/Source/core/dom/shadow/ShadowRoot.h |
index 64b243973464cdc83e1ee4b92230ee208904ff78..73ea4ae1be678b0facab76c782fa8b951eb1d156 100644 |
--- a/Source/core/dom/shadow/ShadowRoot.h |
+++ b/Source/core/dom/shadow/ShadowRoot.h |
@@ -83,8 +83,8 @@ public: |
virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
virtual void removedFrom(ContainerNode*) OVERRIDE; |
- virtual void registerScopedHTMLStyleChild() OVERRIDE; |
- virtual void unregisterScopedHTMLStyleChild() OVERRIDE; |
+ void registerScopedHTMLStyleChild(); |
+ void unregisterScopedHTMLStyleChild(); |
bool containsShadowElements() const; |
bool containsContentElements() const; |
@@ -95,6 +95,7 @@ public: |
// For Internals, don't use this. |
unsigned childShadowRootCount() const; |
+ unsigned numberOfStyles() const { return m_numberOfStyles; } |
HTMLShadowElement* shadowInsertionPointOfYoungerShadowRoot() const; |
void setShadowInsertionPointOfYoungerShadowRoot(PassRefPtrWillBeRawPtr<HTMLShadowElement>); |