Title: [183958] trunk/Source/WebCore
Revision
183958
Author
ander...@apple.com
Date
2015-05-07 16:08:53 -0700 (Thu, 07 May 2015)

Log Message

Build fix.

* editing/mac/EditorMac.mm:
(WebCore::dataInRTFDFormat):
(WebCore::dataInRTFFormat):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (183957 => 183958)


--- trunk/Source/WebCore/ChangeLog	2015-05-07 23:08:01 UTC (rev 183957)
+++ trunk/Source/WebCore/ChangeLog	2015-05-07 23:08:53 UTC (rev 183958)
@@ -1,3 +1,11 @@
+2015-05-07  Anders Carlsson  <ander...@apple.com>
+
+        Build fix.
+
+        * editing/mac/EditorMac.mm:
+        (WebCore::dataInRTFDFormat):
+        (WebCore::dataInRTFFormat):
+
 2015-05-07  Said Abou-Hallawa  <sabouhall...@apple.com>
 
         Applying a filter on an SVG element, which is larger than 4096 pixels, causes this element to be rendered shifted to the left

Modified: trunk/Source/WebCore/editing/mac/EditorMac.mm (183957 => 183958)


--- trunk/Source/WebCore/editing/mac/EditorMac.mm	2015-05-07 23:08:01 UTC (rev 183957)
+++ trunk/Source/WebCore/editing/mac/EditorMac.mm	2015-05-07 23:08:53 UTC (rev 183958)
@@ -341,7 +341,7 @@
         return nullptr;
 
     BEGIN_BLOCK_OBJC_EXCEPTIONS;
-    return SharedBuffer::wrapNSData([string RTFDFromRange:NSMakeRange(0, length) documentAttributes:nil]);
+    return SharedBuffer::wrapNSData([string RTFDFromRange:NSMakeRange(0, length) documentAttributes:@{ }]);
     END_BLOCK_OBJC_EXCEPTIONS;
 
     return nullptr;
@@ -354,7 +354,7 @@
         return nullptr;
 
     BEGIN_BLOCK_OBJC_EXCEPTIONS;
-    return SharedBuffer::wrapNSData([string RTFFromRange:NSMakeRange(0, length) documentAttributes:nil]);
+    return SharedBuffer::wrapNSData([string RTFFromRange:NSMakeRange(0, length) documentAttributes:@{ }]);
     END_BLOCK_OBJC_EXCEPTIONS;
 
     return nullptr;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to