| Index: Source/bindings/v8/V8Binding.cpp
|
| diff --git a/Source/bindings/v8/V8Binding.cpp b/Source/bindings/v8/V8Binding.cpp
|
| index 5c7c273d2d651b28d64782b9b85e480a72f3bebd..eae59eacaf5344c157f5daa750860dcafd7f8b2d 100644
|
| --- a/Source/bindings/v8/V8Binding.cpp
|
| +++ b/Source/bindings/v8/V8Binding.cpp
|
| @@ -590,7 +590,7 @@ v8::Local<v8::Value> getHiddenValueFromMainWorldWrapper(v8::Isolate* isolate, Sc
|
| return wrapper.IsEmpty() ? v8::Local<v8::Value>() : wrapper->GetHiddenValue(key);
|
| }
|
|
|
| -v8::Isolate* getIsolateFromScriptExecutionContext(ScriptExecutionContext* context)
|
| +v8::Isolate* isolateForScriptExecutionContext(ScriptExecutionContext* context)
|
| {
|
| if (context && context->isDocument()) {
|
| static v8::Isolate* mainWorldIsolate = 0;
|
| @@ -601,4 +601,9 @@ v8::Isolate* getIsolateFromScriptExecutionContext(ScriptExecutionContext* contex
|
| return v8::Isolate::GetCurrent();
|
| }
|
|
|
| +v8::Isolate* isolateForFrame(Frame* frame)
|
| +{
|
| + return frame->script()->isolate();
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|