Chromium Code Reviews| 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; } |