Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 153b217831aee113558704aaac20010da6033aa9..d7660f7e23f465dbdfd615f0d8232b9421c083bd 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -532,10 +532,10 @@ PassRefPtrWillBeRawPtr<CSSStyleDeclaration> Internals::computedStyleIncludingVis |
return CSSComputedStyleDeclaration::create(node, allowVisitedStyle); |
} |
-PassRefPtrWillBeRawPtr<ShadowRoot> Internals::createUserAgentShadowRoot(Element* host) |
+PassRefPtrWillBeRawPtr<ShadowRoot> Internals::createClosedShadowRoot(Element* host) |
{ |
ASSERT(host); |
- return PassRefPtrWillBeRawPtr<ShadowRoot>(host->ensureUserAgentShadowRoot()); |
+ return PassRefPtrWillBeRawPtr<ShadowRoot>(host->ensureClosedShadowRoot()); |
} |
ShadowRoot* Internals::shadowRoot(Element* host) |
@@ -581,10 +581,10 @@ String Internals::shadowRootType(const Node* root, ExceptionState& exceptionStat |
} |
switch (toShadowRoot(root)->type()) { |
- case ShadowRoot::UserAgentShadowRoot: |
- return String("UserAgentShadowRoot"); |
- case ShadowRoot::AuthorShadowRoot: |
- return String("AuthorShadowRoot"); |
+ case ShadowRoot::ClosedShadowRoot: |
+ return String("ClosedShadowRoot"); |
+ case ShadowRoot::OpenShadowRoot: |
+ return String("OpenShadowRoot"); |
default: |
ASSERT_NOT_REACHED(); |
return String("Unknown"); |