| Index: third_party/WebKit/Source/core/dom/custom/CustomElementRegistryTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementRegistryTest.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementRegistryTest.cpp
|
| index 788812d95a06395d503d8288049a7609f6f26796..b97fee39f9248e397aaade4e880d42cead0fd5b5 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementRegistryTest.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElementRegistryTest.cpp
|
| @@ -4,7 +4,9 @@
|
|
|
| #include "core/dom/custom/CustomElementRegistry.h"
|
|
|
| +#include <memory>
|
| #include "bindings/core/v8/ExceptionState.h"
|
| +#include "bindings/core/v8/V8Binding.h"
|
| #include "core/dom/Document.h"
|
| #include "core/dom/Element.h"
|
| #include "core/dom/ElementDefinitionOptions.h"
|
| @@ -20,7 +22,6 @@
|
| #include "platform/heap/Handle.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "wtf/text/AtomicString.h"
|
| -#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -39,7 +40,7 @@ class CustomElementRegistryTest : public ::testing::Test {
|
| }
|
|
|
| ScriptState* scriptState() {
|
| - return ScriptState::forMainWorld(&m_page->frame());
|
| + return toScriptStateForMainWorld(&m_page->frame());
|
| }
|
|
|
| void collectCandidates(const CustomElementDescriptor& desc,
|
|
|