Index: Source/bindings/v8/V8LazyEventListener.cpp |
diff --git a/Source/bindings/v8/V8LazyEventListener.cpp b/Source/bindings/v8/V8LazyEventListener.cpp |
index be813dee49df169cbc110ef2c3f054ff73905032..f899de4bc46a2cbb7d2b6388b6f0ef087b8b9297 100644 |
--- a/Source/bindings/v8/V8LazyEventListener.cpp |
+++ b/Source/bindings/v8/V8LazyEventListener.cpp |
@@ -120,7 +120,7 @@ void V8LazyEventListener::prepareListenerObject(ScriptExecutionContext* context) |
ASSERT(context->isDocument()); |
- v8::Isolate* isolate = isolateForScriptExecutionContext(context); |
+ v8::Isolate* isolate = toIsolate(context); |
v8::HandleScope handleScope(isolate); |
// Use the outer scope to hold context. |