Title: [196994] trunk/Source/WebKit2
Revision
196994
Author
ander...@apple.com
Date
2016-02-23 13:49:47 -0800 (Tue, 23 Feb 2016)

Log Message

Fix iOS build.

* UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
(-[WKWebViewConfiguration initWithCoder:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (196993 => 196994)


--- trunk/Source/WebKit2/ChangeLog	2016-02-23 21:49:43 UTC (rev 196993)
+++ trunk/Source/WebKit2/ChangeLog	2016-02-23 21:49:47 UTC (rev 196994)
@@ -1,5 +1,12 @@
 2016-02-23  Anders Carlsson  <ander...@apple.com>
 
+        Fix iOS build.
+
+        * UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
+        (-[WKWebViewConfiguration initWithCoder:]):
+
+2016-02-23  Anders Carlsson  <ander...@apple.com>
+
         WKWebViewConfiguration should conform to NSCoding
         https://bugs.webkit.org/show_bug.cgi?id=154602
 

Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm (196993 => 196994)


--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm	2016-02-23 21:49:43 UTC (rev 196993)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm	2016-02-23 21:49:47 UTC (rev 196994)
@@ -189,7 +189,7 @@
 #if PLATFORM(IOS)
     self.allowsInlineMediaPlayback = [coder decodeBoolForKey:@"allowsInlineMediaPlayback"];
     self.requiresUserActionForMediaPlayback = [coder decodeBoolForKey:@"requiresUserActionForMediaPlayback"];
-    self.selectionGranularity = [coder decodeIntegerForKey:@"selectionGranularity"];
+    self.selectionGranularity = static_cast<WKSelectionGranularity>([coder decodeIntegerForKey:@"selectionGranularity"]);
     self.allowsPictureInPictureMediaPlayback = [coder decodeBoolForKey:@"allowsPictureInPictureMediaPlayback"];
 #endif
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to