| Index: third_party/WebKit/Source/core/dom/TreeScopeStyleSheetCollection.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/TreeScopeStyleSheetCollection.cpp b/third_party/WebKit/Source/core/dom/TreeScopeStyleSheetCollection.cpp
|
| index 4e2577d8a42cdfd7e38dae9d9550e49852bf9a62..2c8a034bcd088c9d130daa546a41705e7ca4cb35 100644
|
| --- a/third_party/WebKit/Source/core/dom/TreeScopeStyleSheetCollection.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/TreeScopeStyleSheetCollection.cpp
|
| @@ -46,7 +46,7 @@ TreeScopeStyleSheetCollection::TreeScopeStyleSheetCollection(TreeScope& treeScop
|
|
|
| void TreeScopeStyleSheetCollection::addStyleSheetCandidateNode(Node* node)
|
| {
|
| - if (!node->inDocument())
|
| + if (!node->inShadowIncludingDocument())
|
| return;
|
|
|
| m_styleSheetCandidateNodes.add(node);
|
|
|