| Index: third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp b/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp
|
| index 7dd2fc7da5661c7d45a1b0bf0ca56287746e3772..906fa2a83679cff8eb30572e2461d7d3ba7ac693 100644
|
| --- a/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp
|
| @@ -148,7 +148,7 @@ ShadowRoot& ElementShadow::addShadowRoot(Element& shadowHost, ShadowRootType typ
|
| EventDispatchForbiddenScope assertNoEventDispatch;
|
| ScriptForbiddenScope forbidScript;
|
|
|
| - if (type == ShadowRootType::OpenByDefault) {
|
| + if (type == ShadowRootType::V0) {
|
| if (!youngestShadowRoot()) {
|
| shadowHost.willAddFirstAuthorShadowRoot();
|
| } else if (youngestShadowRoot()->type() == ShadowRootType::UserAgent) {
|
|
|