| Index: third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp b/third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp
|
| index 1007d24c51d26270f4ef417d1313d44a02639648..d7cc3649ceb78b62c1eba7264614bbd00dd9a866 100644
|
| --- a/third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp
|
| +++ b/third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "core/css/ActiveStyleSheets.h"
|
|
|
| +#include "bindings/core/v8/V8Binding.h"
|
| #include "core/css/CSSStyleSheet.h"
|
| #include "core/css/MediaQueryEvaluator.h"
|
| #include "core/css/StyleSheetContents.h"
|
| @@ -49,7 +50,7 @@ ShadowRoot& ApplyRulesetsTest::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;
|
| }
|
|
|