Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Unified Diff: Source/bindings/v8/V8Binding.cpp

Issue 24119002: Fix r157217, committed patch set didn't contain the latest review modifications. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698