| Index: third_party/WebKit/Source/core/css/resolver/ScopedStyleResolverTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolverTest.cpp b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolverTest.cpp
|
| index 689e4b45e34433bad1104b20cbbf8dd9c4727deb..8b51f09ac25e3637e7060190fd26af0b171cb95b 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolverTest.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolverTest.cpp
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "core/css/resolver/ScopedStyleResolver.h"
|
|
|
| +#include "bindings/core/v8/V8Binding.h"
|
| #include "core/dom/shadow/ShadowRoot.h"
|
| #include "core/dom/shadow/ShadowRootInit.h"
|
| #include "core/frame/FrameView.h"
|
| @@ -31,7 +32,7 @@ ShadowRoot& ScopedStyleResolverTest::attachShadow(Element& host) {
|
| ShadowRootInit init;
|
| init.setMode("open");
|
| ShadowRoot* shadowRoot = host.attachShadow(
|
| - ScriptState::forMainWorld(document().frame()), init, ASSERT_NO_EXCEPTION);
|
| + toScriptStateForMainWorld(document().frame()), init, ASSERT_NO_EXCEPTION);
|
| EXPECT_TRUE(shadowRoot);
|
| return *shadowRoot;
|
| }
|
|
|