| Index: third_party/WebKit/Source/core/css/resolver/SharedStyleFinderTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/SharedStyleFinderTest.cpp b/third_party/WebKit/Source/core/css/resolver/SharedStyleFinderTest.cpp
|
| index 8f0c48cbd65c81636015eb6587d64241cda3d9ea..16a4ff2a76cb6faca9ad5ce8e36825869f17e534 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/SharedStyleFinderTest.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/SharedStyleFinderTest.cpp
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "core/css/resolver/SharedStyleFinder.h"
|
|
|
| +#include <memory>
|
| +#include "bindings/core/v8/V8Binding.h"
|
| #include "core/css/RuleFeature.h"
|
| #include "core/css/RuleSet.h"
|
| #include "core/css/parser/CSSParser.h"
|
| @@ -15,7 +17,6 @@
|
| #include "core/html/HTMLElement.h"
|
| #include "core/testing/DummyPageHolder.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| -#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -35,7 +36,7 @@ class SharedStyleFinderTest : public ::testing::Test {
|
| ShadowRootInit init;
|
| init.setMode("open");
|
| ShadowRoot* shadowRoot =
|
| - host.attachShadow(ScriptState::forMainWorld(document().frame()), init,
|
| + host.attachShadow(toScriptStateForMainWorld(document().frame()), init,
|
| ASSERT_NO_EXCEPTION);
|
| EXPECT_TRUE(shadowRoot);
|
| return *shadowRoot;
|
|
|