| Index: Source/bindings/core/v8/ScriptState.cpp
|
| diff --git a/Source/bindings/core/v8/ScriptState.cpp b/Source/bindings/core/v8/ScriptState.cpp
|
| index f2664392f3022f3efbf9c31d3710588a46a07f41..7e2f6a1c31c2aec4926c9f9ce23bb3caa45e7e19 100644
|
| --- a/Source/bindings/core/v8/ScriptState.cpp
|
| +++ b/Source/bindings/core/v8/ScriptState.cpp
|
| @@ -102,6 +102,15 @@ ScriptValue ScriptState::getFromGlobalObject(const char* name)
|
| return ScriptValue(this, v8Value);
|
| }
|
|
|
| +ScriptValue ScriptState::getFromExtrasExports(const char* name)
|
| +{
|
| + v8::HandleScope handleScope(m_isolate);
|
| + v8::Local<v8::Value> v8Value;
|
| + if (!context()->GetExtrasExportsObject()->Get(context(), v8AtomicString(isolate(), name)).ToLocal(&v8Value))
|
| + return ScriptValue();
|
| + return ScriptValue(this, v8Value);
|
| +}
|
| +
|
| ExecutionContext* ScriptState::executionContext() const
|
| {
|
| v8::HandleScope scope(m_isolate);
|
|
|