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

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

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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ScriptState.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptState.h b/third_party/WebKit/Source/bindings/core/v8/ScriptState.h
index fb14d641e1c26b29ca7ee93f13bf440dc08a646d..506cd36039483f56218935ce8190f19ddede8204 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptState.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptState.h
@@ -19,7 +19,6 @@ namespace blink {
class LocalDOMWindow;
class DOMWrapperWorld;
class ExecutionContext;
-class LocalFrame;
class ScriptValue;
// ScriptState is an abstraction class that holds all information about script
@@ -136,14 +135,6 @@ class CORE_EXPORT ScriptState : public RefCounted<ScriptState> {
return scriptState;
}
- // These methods can return nullptr if the context associated with the
- // ScriptState has already been detached.
-
- // DEPRECATED: Use toScriptStateForMainWorld.
- static ScriptState* forMainWorld(LocalFrame*);
- // DEPRECATED: Use toScriptState.
- static ScriptState* forWorld(LocalFrame*, DOMWrapperWorld&);
-
v8::Isolate* isolate() const { return m_isolate; }
DOMWrapperWorld& world() const { return *m_world; }
LocalDOMWindow* domWindow() const;
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698