Title: [166122] trunk/Source/WebCore
Revision
166122
Author
m...@apple.com
Date
2014-03-22 12:19:52 -0700 (Sat, 22 Mar 2014)

Log Message

Fixed the iOS build.

Reviewed by Darin Adler.

* page/ios/FrameIOS.mm:
(WebCore::Frame::interpretationsForCurrentRoot):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (166121 => 166122)


--- trunk/Source/WebCore/ChangeLog	2014-03-22 18:56:56 UTC (rev 166121)
+++ trunk/Source/WebCore/ChangeLog	2014-03-22 19:19:52 UTC (rev 166122)
@@ -1,3 +1,12 @@
+2014-03-22  Dan Bernstein  <m...@apple.com>
+
+        Fixed the iOS build.
+
+        Reviewed by Darin Adler.
+
+        * page/ios/FrameIOS.mm:
+        (WebCore::Frame::interpretationsForCurrentRoot):
+
 2014-03-22  Darin Adler  <da...@apple.com>
 
         Remove String::deprecatedCharacters

Modified: trunk/Source/WebCore/page/ios/FrameIOS.mm (166121 => 166122)


--- trunk/Source/WebCore/page/ios/FrameIOS.mm	2014-03-22 18:56:56 UTC (rev 166121)
+++ trunk/Source/WebCore/page/ios/FrameIOS.mm	2014-03-22 19:19:52 UTC (rev 166122)
@@ -812,7 +812,7 @@
 
     NSMutableArray *result = [NSMutableArray array];
     for (auto& interpretation : interpretations)
-        [result addObject:static_cast<NSString *>(interpretation)];
+        [result addObject:adoptNS([[NSString alloc] initWithCharacters:interpretation.data() length:interpretation.size()]).get()];
 
     return result;
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to