| 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 3ec85d0ffbac1831023e388afbdd697e0d2b74b4..b0b0fd8530be5f9b3711f8272a63d42d98737c63 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptState.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptState.h
|
| @@ -76,6 +76,11 @@ class CORE_EXPORT ScriptState : public RefCounted<ScriptState> {
|
| return from(info.Holder()->CreationContext());
|
| }
|
|
|
| + static ScriptState* forReceiverObject(
|
| + const v8::PropertyCallbackInfo<void>& info) {
|
| + return from(info.Holder()->CreationContext());
|
| + }
|
| +
|
| // Debugger context doesn't have associated ScriptState and when current
|
| // context is debugger it should be treated as if context stack was empty.
|
| static bool hasCurrentScriptState(v8::Isolate* isolate) {
|
|
|