| Index: Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp
|
| diff --git a/Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp b/Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp
|
| index 03c744f92c936d9443a2fd1cd5d9d4d0a5841765..8c2687304519f14bb537ad1f0176d2fc9c73f9b3 100644
|
| --- a/Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp
|
| +++ b/Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp
|
| @@ -300,10 +300,8 @@ void V8InjectedScriptHost::getInternalPropertiesMethodCustom(const v8::FunctionC
|
| return;
|
|
|
| v8::Local<v8::Object> object = v8::Local<v8::Object>::Cast(info[0]);
|
| -
|
| - InjectedScriptHost* host = V8InjectedScriptHost::toImpl(info.Holder());
|
| - ScriptDebugServer& debugServer = host->scriptDebugServer();
|
| - v8SetReturnValue(info, debugServer.getInternalProperties(object));
|
| + v8::MaybeLocal<v8::Array> properties = v8::Debug::GetInternalProperties(info.GetIsolate(), object);
|
| + v8SetReturnValue(info, properties);
|
| }
|
|
|
| static v8::Local<v8::Array> getJSListenerFunctions(v8::Isolate* isolate, ExecutionContext* executionContext, const EventListenerInfo& listenerInfo)
|
|
|