Index: third_party/WebKit/Source/core/editing/EditingTestBase.cpp |
diff --git a/third_party/WebKit/Source/core/editing/EditingTestBase.cpp b/third_party/WebKit/Source/core/editing/EditingTestBase.cpp |
index 4f7fa782d082088d15ad0bd6e89e505fb26fbc50..da4009738ffb90539543312d93a059de76f134c6 100644 |
--- a/third_party/WebKit/Source/core/editing/EditingTestBase.cpp |
+++ b/third_party/WebKit/Source/core/editing/EditingTestBase.cpp |
@@ -34,7 +34,7 @@ void EditingTestBase::SetUp() |
PassRefPtrWillBeRawPtr<ShadowRoot> EditingTestBase::createShadowRootForElementWithIDAndSetInnerHTML(TreeScope& scope, const char* hostElementID, const char* shadowRootContent) |
{ |
- RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = scope.getElementById(AtomicString::fromUTF8(hostElementID))->createShadowRootInternal(ShadowRootType::OpenByDefault, ASSERT_NO_EXCEPTION); |
+ RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = scope.getElementById(AtomicString::fromUTF8(hostElementID))->createShadowRootInternal(ShadowRootType::V0, ASSERT_NO_EXCEPTION); |
shadowRoot->setInnerHTML(String::fromUTF8(shadowRootContent), ASSERT_NO_EXCEPTION); |
return shadowRoot.release(); |
} |