Changeset 224048 in webkit
- Timestamp:
- Oct 26, 2017 2:07:01 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r224045 r224048 1 2017-10-26 Dan Bernstein <mitz@apple.com> 2 3 Account for Mail’s WebMessageDocument class being renamed 4 https://bugs.webkit.org/show_bug.cgi?id=178881 5 6 Reviewed by Sam Weinig. 7 8 * editing/cocoa/HTMLConverter.mm: 9 (_WebMessageDocumentClass): Look up the class by its new name. No longer look it up by the 10 old old name, because TOT WebKit isn’t going to be used by versions of Mail that have that name. 11 1 12 2017-10-26 Antoine Quint <graouts@apple.com> 2 13 -
trunk/Source/WebCore/editing/cocoa/HTMLConverter.mm
r223476 r224048 1356 1356 if (!lookedUpClass) { 1357 1357 // If the class is not there, we don't want to try again 1358 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200 1359 _WebMessageDocumentClass = objc_lookUpClass("WebMessageDocument"); 1360 #else 1361 _WebMessageDocumentClass = objc_lookUpClass("MFWebMessageDocument"); 1358 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 1359 _WebMessageDocumentClass = objc_lookUpClass("EditableWebMessageDocument"); 1362 1360 #endif 1361 if (!_WebMessageDocumentClass) 1362 _WebMessageDocumentClass = objc_lookUpClass("WebMessageDocument"); 1363 1363 1364 if (_WebMessageDocumentClass && ![_WebMessageDocumentClass respondsToSelector:@selector(document:attachment:forURL:)]) 1364 1365 _WebMessageDocumentClass = Nil;
Note: See TracChangeset
for help on using the changeset viewer.