Modified: trunk/Source/WebKit/ios/ChangeLog (170647 => 170648)
--- trunk/Source/WebKit/ios/ChangeLog 2014-07-01 17:29:15 UTC (rev 170647)
+++ trunk/Source/WebKit/ios/ChangeLog 2014-07-01 17:33:43 UTC (rev 170648)
@@ -1,3 +1,14 @@
+2014-07-01 Alex Christensen <[email protected]>
+
+ [iOS] Compile fix with pointer lock enabled.
+ https://bugs.webkit.org/show_bug.cgi?id=134472
+
+ Reviewed by Pratik Solanki.
+
+ * WebView/WebPDFViewPlaceholder.mm:
+ (-[WebPDFViewPlaceholder simulateClickOnLinkToURL:]):
+ Add parameters required for pointer lock.
+
2014-06-05 Benjamin Poulain <[email protected]>
[iOS][WK2] Add device orientation
Modified: trunk/Source/WebKit/ios/WebView/WebPDFViewPlaceholder.mm (170647 => 170648)
--- trunk/Source/WebKit/ios/WebView/WebPDFViewPlaceholder.mm 2014-07-01 17:29:15 UTC (rev 170647)
+++ trunk/Source/WebKit/ios/WebView/WebPDFViewPlaceholder.mm 2014-07-01 17:33:43 UTC (rev 170648)
@@ -500,7 +500,11 @@
return;
// Construct an event to simulate a click.
- RefPtr<Event> event = MouseEvent::create(eventNames().clickEvent, true, true, currentTime(), 0, 1, 0, 0, 0, 0, false, false, false, false, 0, 0, 0, true);
+ RefPtr<Event> event = MouseEvent::create(eventNames().clickEvent, true, true, currentTime(), 0, 1, 0, 0, 0, 0,
+#if ENABLE(POINTER_LOCK)
+ 0, 0,
+#endif
+ false, false, false, false, 0, 0, 0, true);
// Call to the frame loader because this is where our security checks are made.
Frame* frame = core([_dataSource webFrame]);