Index: Source/bindings/v8/V8Binding.cpp |
diff --git a/Source/bindings/v8/V8Binding.cpp b/Source/bindings/v8/V8Binding.cpp |
index 5c7c273d2d651b28d64782b9b85e480a72f3bebd..717bf6c1bb9319bcab021460613186601e5c6819 100644 |
--- a/Source/bindings/v8/V8Binding.cpp |
+++ b/Source/bindings/v8/V8Binding.cpp |
@@ -601,4 +601,9 @@ v8::Isolate* getIsolateFromScriptExecutionContext(ScriptExecutionContext* contex |
return v8::Isolate::GetCurrent(); |
} |
+v8::Isolate* getIsolateFromFrame(Frame* frame) |
+{ |
+ return frame->script()->isolate(); |
+} |
+ |
} // namespace WebCore |