Index: Source/web/tests/CustomEventTest.cpp |
diff --git a/Source/web/tests/CustomEventTest.cpp b/Source/web/tests/CustomEventTest.cpp |
index 1d617be70bcdabb27024c993dac3ad2ee932560b..c979c82a6d2f5a9abf7c483014b0d2e220cb2092 100644 |
--- a/Source/web/tests/CustomEventTest.cpp |
+++ b/Source/web/tests/CustomEventTest.cpp |
@@ -105,8 +105,7 @@ TEST(CustomEventTest, InitWithSerializedScriptValue) |
FrameTestHelpers::WebViewHelper webViewHelper; |
WebFrameImpl* frame = toWebFrameImpl(webViewHelper.initializeAndLoad(baseURL + path)->mainFrame()); |
- // FIXME: oilpan: Remove PassRefPtr<Event>() once we support PassRefPtrWillBeRawPtr in WebDOMEvent. |
- WebDOMEvent event = PassRefPtr<Event>(frame->frame()->document()->createEvent("CustomEvent", IGNORE_EXCEPTION)); |
+ WebDOMEvent event = frame->frame()->document()->createEvent("CustomEvent", IGNORE_EXCEPTION); |
WebDOMCustomEvent customEvent = event.to<WebDOMCustomEvent>(); |
v8::Isolate* isolate = toIsolate(frame->frame()); |