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

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

Issue 2794023002: Move ScriptState::forWorld/ScriptState::forMainWorld (Part 1) (Closed)
Patch Set: Some fixes Created 3 years, 9 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.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptState.h b/third_party/WebKit/Source/bindings/core/v8/ScriptState.h
index 9b60146f7a3e9a6585557d06abfb140fed4dd672..fb14d641e1c26b29ca7ee93f13bf440dc08a646d 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptState.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptState.h
@@ -138,7 +138,10 @@ class CORE_EXPORT ScriptState : public RefCounted<ScriptState> {
// These methods can return nullptr if the context associated with the
// ScriptState has already been detached.
+
+ // DEPRECATED: Use toScriptStateForMainWorld.
jbroman 2017/04/04 01:16:28 nit: make the implementations of these use toScrip
adithyas 2017/04/04 14:22:42 Done.
static ScriptState* forMainWorld(LocalFrame*);
+ // DEPRECATED: Use toScriptState.
static ScriptState* forWorld(LocalFrame*, DOMWrapperWorld&);
v8::Isolate* isolate() const { return m_isolate; }

Powered by Google App Engine
This is Rietveld 408576698