TreeResolver::Scope::Scope(ShadowRoot& shadowRoot, Scope& enclosingScope) : styleResolver(shadowRoot.styleResolver()) , sharingResolver(shadowRoot.documentScope(), styleResolver.ruleSets(), selectorFilter) , shadowRoot(&shadowRoot) , enclosingScope(&enclosingScope) { }
AuthorStyleSheets::AuthorStyleSheets(ShadowRoot& shadowRoot) : m_document(shadowRoot.documentScope()) , m_shadowRoot(&shadowRoot) { }