| Index: Source/bindings/core/dart/DartInjectedScript.cpp
|
| diff --git a/Source/bindings/core/dart/DartInjectedScript.cpp b/Source/bindings/core/dart/DartInjectedScript.cpp
|
| index b9ca5d5f3ea83fc269034abfd8597448a18fe25b..ee04633d4c9cfb6690de229240261003ba353677 100644
|
| --- a/Source/bindings/core/dart/DartInjectedScript.cpp
|
| +++ b/Source/bindings/core/dart/DartInjectedScript.cpp
|
| @@ -972,6 +972,8 @@ void DartInjectedScript::getProperties(ErrorString* errorString, const String& o
|
| }
|
| DartIsolateScope scope(m_scriptState->isolate());
|
| DartApiScope apiScope;
|
| + DartDOMData* domData = DartDOMData::current();
|
| + V8Scope v8scope(domData);
|
|
|
| DartDebuggerObject* object = lookupObject(objectId);
|
| if (!object) {
|
| @@ -1109,7 +1111,6 @@ void DartInjectedScript::getProperties(ErrorString* errorString, const String& o
|
| (*properties)->addItem(descriptor);
|
|
|
| if (DartDOMWrapper::subtypeOf(handle, JsObject::dartClassId)) {
|
| - DartDOMData* domData = DartDOMData::current();
|
| JsObject* object = DartDOMWrapper::unwrapDartWrapper<JsObject>(domData, handle, exception);
|
| if (!exception) {
|
| descriptor = PropertyDescriptor::create().setName("[[JavaScript View]]").setConfigurable(false).setEnumerable(true).release();
|
| @@ -1144,6 +1145,8 @@ void DartInjectedScript::getProperty(ErrorString* errorString, const String& obj
|
| return;
|
| }
|
| DartIsolateScope scope(m_scriptState->isolate());
|
| + DartDOMData* domData = DartDOMData::current();
|
| + V8Scope v8scope(domData);
|
| DartApiScope apiScope;
|
|
|
| DartDebuggerObject* object = lookupObject(objectId);
|
|
|