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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorterTest.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/CustomElementUpgradeSorterTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorterTest.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorterTest.cpp
index 97484578dbb935684fe2c8b13f66a34f117fe377..31d78139b87501afe2e0d5c4d1da633efa0033b7 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorterTest.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorterTest.cpp
@@ -4,8 +4,10 @@
#include "core/dom/custom/CustomElementUpgradeSorter.h"
+#include <memory>
#include "bindings/core/v8/ExceptionState.h"
#include "bindings/core/v8/StringOrDictionary.h"
+#include "bindings/core/v8/V8Binding.h"
#include "core/HTMLNames.h"
#include "core/dom/Document.h"
#include "core/dom/Element.h"
@@ -16,7 +18,6 @@
#include "platform/heap/Handle.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "wtf/text/AtomicString.h"
-#include <memory>
namespace blink {
@@ -37,7 +38,7 @@ class CustomElementUpgradeSorterTest : public ::testing::Test {
Document* document() { return &m_page->document(); }
ScriptState* scriptState() {
- return ScriptState::forMainWorld(&m_page->frame());
+ return toScriptStateForMainWorld(&m_page->frame());
}
ShadowRoot* attachShadowTo(Element* element) {

Powered by Google App Engine
This is Rietveld 408576698