Chromium Code Reviews| Index: Source/WebCore/dom/ShadowRoot.cpp |
| =================================================================== |
| --- Source/WebCore/dom/ShadowRoot.cpp (revision 96024) |
| +++ Source/WebCore/dom/ShadowRoot.cpp (working copy) |
| @@ -114,6 +114,11 @@ |
| setNeedsStyleRecalc(); |
| } |
| +bool ShadowRoot::isInclusionSelectorActive() const |
| +{ |
| + return m_inclusions && m_inclusions->hasCandidates(); |
| +} |
| + |
| bool ShadowRoot::hasContentElement() const |
| { |
| for (Node* n = firstChild(); n; n = n->traverseNextNode(this)) { |