Index: Source/core/dom/shadow/ShadowRoot.h |
diff --git a/Source/core/dom/shadow/ShadowRoot.h b/Source/core/dom/shadow/ShadowRoot.h |
index 4f69957b531c10a437b86db12fc685de6a5ab5df..ef8cc55bbda0013c9b09ed31cf1824be84620300 100644 |
--- a/Source/core/dom/shadow/ShadowRoot.h |
+++ b/Source/core/dom/shadow/ShadowRoot.h |
@@ -81,8 +81,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; |
@@ -93,6 +93,7 @@ public: |
// For Internals, don't use this. |
unsigned childShadowRootCount() const; |
+ unsigned numberOfStyles() const { return m_numberOfStyles; } |
HTMLShadowElement* shadowInsertionPointOfYoungerShadowRoot() const; |
void setShadowInsertionPointOfYoungerShadowRoot(PassRefPtr<HTMLShadowElement>); |