Title: [207422] trunk/Source/WebKit/mac
Revision
207422
Author
ander...@apple.com
Date
2016-10-17 12:17:36 -0700 (Mon, 17 Oct 2016)

Log Message

Fix iOS build.

* History/WebBackForwardList.mm:
(-[WebBackForwardList dictionaryRepresentation]):

Modified Paths

Diff

Modified: trunk/Source/WebKit/mac/ChangeLog (207421 => 207422)


--- trunk/Source/WebKit/mac/ChangeLog	2016-10-17 19:11:20 UTC (rev 207421)
+++ trunk/Source/WebKit/mac/ChangeLog	2016-10-17 19:17:36 UTC (rev 207422)
@@ -1,5 +1,12 @@
 2016-10-17  Anders Carlsson  <ander...@apple.com>
 
+        Fix iOS build.
+
+        * History/WebBackForwardList.mm:
+        (-[WebBackForwardList dictionaryRepresentation]):
+
+2016-10-17  Anders Carlsson  <ander...@apple.com>
+
         CTTE some of the BackForwardList member functions
         https://bugs.webkit.org/show_bug.cgi?id=163555
 

Modified: trunk/Source/WebKit/mac/History/WebBackForwardList.mm (207421 => 207422)


--- trunk/Source/WebKit/mac/History/WebBackForwardList.mm	2016-10-17 19:11:20 UTC (rev 207421)
+++ trunk/Source/WebKit/mac/History/WebBackForwardList.mm	2016-10-17 19:17:36 UTC (rev 207422)
@@ -167,7 +167,7 @@
     unsigned size = historyItems.size();
     NSMutableArray *entriesArray = [[NSMutableArray alloc] initWithCapacity:size];
     for (unsigned i = 0; i < size; ++i)
-        [entriesArray addObject:[kit(historyItems[i].ptr()) dictionaryRepresentationIncludingChildren:NO]];
+        [entriesArray addObject:[kit(const_cast<HistoryItem*>(historyItems[i].ptr())) dictionaryRepresentationIncludingChildren:NO]];
     
     NSDictionary *dictionary = [NSDictionary dictionaryWithObjectsAndKeys:
         entriesArray, WebBackForwardListDictionaryEntriesKey,
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to