Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementRegistryTest.cpp

Issue 2796653003: Move ScriptState::forWorld/ScriptState::forMainWorld (Part 2) (Closed)
Patch Set: Rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698