Title: [192032] trunk/Source/WebCore
Revision
192032
Author
timothy_hor...@apple.com
Date
2015-11-04 12:50:52 -0800 (Wed, 04 Nov 2015)

Log Message

Update the name of a Mail class that we hardcode
https://bugs.webkit.org/show_bug.cgi?id=150879
<rdar://problem/23384627>

Reviewed by Alexey Proskuryakov.

* editing/cocoa/HTMLConverter.mm:
(_WebMessageDocumentClass):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (192031 => 192032)


--- trunk/Source/WebCore/ChangeLog	2015-11-04 19:38:19 UTC (rev 192031)
+++ trunk/Source/WebCore/ChangeLog	2015-11-04 20:50:52 UTC (rev 192032)
@@ -1,3 +1,14 @@
+2015-11-04  Tim Horton  <timothy_hor...@apple.com>
+
+        Update the name of a Mail class that we hardcode
+        https://bugs.webkit.org/show_bug.cgi?id=150879
+        <rdar://problem/23384627>
+
+        Reviewed by Alexey Proskuryakov.
+
+        * editing/cocoa/HTMLConverter.mm:
+        (_WebMessageDocumentClass):
+
 2015-11-04  Eric Carlson  <eric.carl...@apple.com>
 
         [MediaStream] A RealtimeMediaSource should begin producing data automatically

Modified: trunk/Source/WebCore/editing/cocoa/HTMLConverter.mm (192031 => 192032)


--- trunk/Source/WebCore/editing/cocoa/HTMLConverter.mm	2015-11-04 19:38:19 UTC (rev 192031)
+++ trunk/Source/WebCore/editing/cocoa/HTMLConverter.mm	2015-11-04 20:50:52 UTC (rev 192032)
@@ -1372,7 +1372,11 @@
     static BOOL lookedUpClass = NO;
     if (!lookedUpClass) {
         // If the class is not there, we don't want to try again
+#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200
+        _WebMessageDocumentClass = objc_lookUpClass("WebMessageDocument");
+#else
         _WebMessageDocumentClass = objc_lookUpClass("MFWebMessageDocument");
+#endif
         if (_WebMessageDocumentClass && ![_WebMessageDocumentClass respondsToSelector:@selector(document:attachment:forURL:)])
             _WebMessageDocumentClass = Nil;
         lookedUpClass = YES;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to