Replace canBubble and cancelable booleans in Event by enum classes
[WebKit-https.git] / Source / WebKitLegacy / ios / WebView / WebPDFViewPlaceholder.mm
index 29d1e468f4469dec0860d199ba938c99ee7e2db2..6332a807e48fe49f1b8a91957b6d42bafb1a874b 100644 (file)
@@ -479,7 +479,7 @@ static const float PAGE_HEIGHT_INSET = 4.0f * 2.0f;
         return;
 
     // Construct an event to simulate a click.
-    RefPtr<Event> event = MouseEvent::create(eventNames().clickEvent, true, true, MonotonicTime::now(), 0, 1, 0, 0, 0, 0,
+    RefPtr<Event> event = MouseEvent::create(eventNames().clickEvent, Event::CanBubble::Yes, Event::IsCancelable::Yes, MonotonicTime::now(), 0, 1, 0, 0, 0, 0,
 #if ENABLE(POINTER_LOCK)
         0, 0,
 #endif