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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp

Issue 2793003003: Move ScriptState::forWorld/ScriptState::forMainWorld (Part 3) (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/bindings/core/v8/ScriptState.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
index a6868e5ebaae865d953a750241d7a3bed53c9838..2c52799590800993fcaf60d17949e19c097f8227 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
@@ -7,7 +7,6 @@
#include "bindings/core/v8/V8Binding.h"
#include "core/dom/ExecutionContext.h"
#include "core/frame/LocalDOMWindow.h"
-#include "core/frame/LocalFrame.h"
namespace blink {
@@ -81,12 +80,4 @@ LocalDOMWindow* ScriptState::domWindow() const {
return toLocalDOMWindow(context());
}
-ScriptState* ScriptState::forMainWorld(LocalFrame* frame) {
- return toScriptStateForMainWorld(frame);
-}
-
-ScriptState* ScriptState::forWorld(LocalFrame* frame, DOMWrapperWorld& world) {
- return toScriptState(frame, world);
-}
-
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/ScriptState.h ('k') | third_party/WebKit/Source/core/loader/FrameLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698