| Index: third_party/WebKit/Source/core/dom/SelectorQuery.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/SelectorQuery.cpp b/third_party/WebKit/Source/core/dom/SelectorQuery.cpp
|
| index bfc3d433530a2a75167334d1910c34102ddf14d4..c99c01137091d64c16de60ed00048bea298565b1 100644
|
| --- a/third_party/WebKit/Source/core/dom/SelectorQuery.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/SelectorQuery.cpp
|
| @@ -118,8 +118,8 @@ void SelectorDataList::initialize(const CSSSelectorList& selectorList)
|
| if (selector->matchesPseudoElement())
|
| continue;
|
| m_selectors.uncheckedAppend(selector);
|
| - m_usesDeepCombinatorOrShadowPseudo |= selectorList.selectorUsesDeepCombinatorOrShadowPseudo(index);
|
| - m_needsUpdatedDistribution |= selectorList.selectorNeedsUpdatedDistribution(index);
|
| + m_usesDeepCombinatorOrShadowPseudo |= selector->hasDeepCombinatorOrShadowPseudo();
|
| + m_needsUpdatedDistribution |= selector->needsUpdatedDistribution();
|
| }
|
| }
|
|
|
|
|