| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index 63285fab5800b7d1b6253b37cfe949c5dd3cd423..5cc6bf51c1ac8245d031659e58e0372bec269671 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -61,8 +61,8 @@
|
| #include "core/dom/TreeScope.h"
|
| #include "core/dom/ViewportArguments.h"
|
| #include "core/dom/shadow/ComposedShadowTreeWalker.h"
|
| -#include "core/dom/shadow/ContentDistributor.h"
|
| #include "core/dom/shadow/ElementShadow.h"
|
| +#include "core/dom/shadow/ScopeContentDistribution.h"
|
| #include "core/dom/shadow/SelectRuleFeatureSet.h"
|
| #include "core/dom/shadow/ShadowRoot.h"
|
| #include "core/editing/Editor.h"
|
| @@ -341,7 +341,7 @@ bool Internals::hasSelectorForIdInShadow(Element* host, const String& idValue, E
|
| return 0;
|
| }
|
|
|
| - return host->shadow()->distributor().ensureSelectFeatureSet(host->shadow()).hasSelectorForId(idValue);
|
| + return host->shadow()->ensureSelectFeatureSet().hasSelectorForId(idValue);
|
| }
|
|
|
| bool Internals::hasSelectorForClassInShadow(Element* host, const String& className, ExceptionState& es)
|
| @@ -351,7 +351,7 @@ bool Internals::hasSelectorForClassInShadow(Element* host, const String& classNa
|
| return 0;
|
| }
|
|
|
| - return host->shadow()->distributor().ensureSelectFeatureSet(host->shadow()).hasSelectorForClass(className);
|
| + return host->shadow()->ensureSelectFeatureSet().hasSelectorForClass(className);
|
| }
|
|
|
| bool Internals::hasSelectorForAttributeInShadow(Element* host, const String& attributeName, ExceptionState& es)
|
| @@ -361,7 +361,7 @@ bool Internals::hasSelectorForAttributeInShadow(Element* host, const String& att
|
| return 0;
|
| }
|
|
|
| - return host->shadow()->distributor().ensureSelectFeatureSet(host->shadow()).hasSelectorForAttribute(attributeName);
|
| + return host->shadow()->ensureSelectFeatureSet().hasSelectorForAttribute(attributeName);
|
| }
|
|
|
| bool Internals::hasSelectorForPseudoClassInShadow(Element* host, const String& pseudoClass, ExceptionState& es)
|
| @@ -371,7 +371,7 @@ bool Internals::hasSelectorForPseudoClassInShadow(Element* host, const String& p
|
| return 0;
|
| }
|
|
|
| - const SelectRuleFeatureSet& featureSet = host->shadow()->distributor().ensureSelectFeatureSet(host->shadow());
|
| + const SelectRuleFeatureSet& featureSet = host->shadow()->ensureSelectFeatureSet();
|
| if (pseudoClass == "checked")
|
| return featureSet.hasSelectorForChecked();
|
| if (pseudoClass == "enabled")
|
|
|