Index: Source/web/tests/CustomEventTest.cpp |
diff --git a/Source/web/tests/CustomEventTest.cpp b/Source/web/tests/CustomEventTest.cpp |
index d83896e00fda4db1aaaea55165335adcdb58515b..99310058de74b5ca8ab753ecab40621e0a6a9573 100644 |
--- a/Source/web/tests/CustomEventTest.cpp |
+++ b/Source/web/tests/CustomEventTest.cpp |
@@ -106,7 +106,7 @@ TEST(CustomEventTest, InitWithSerializedScriptValue) |
WebDOMEvent event = frame->frame()->document()->createEvent("CustomEvent", IGNORE_EXCEPTION); |
WebDOMCustomEvent customEvent = event.to<WebDOMCustomEvent>(); |
- v8::HandleScope handleScope(isolateForFrame(frame->frame())); |
+ v8::HandleScope handleScope(toIsolate(frame->frame())); |
customEvent.initCustomEvent("blah", false, false, WebSerializedScriptValue::serialize(v8::Boolean::New(true))); |
RefPtr<EventListener> listener = TestListener::create(frame->mainWorldScriptContext()); |
frame->frame()->document()->addEventListener("blah", listener, false); |