Title: [249168] branches/safari-608-branch/Source/WebCore
- Revision
- 249168
- Author
- alanc...@apple.com
- Date
- 2019-08-27 14:01:07 -0700 (Tue, 27 Aug 2019)
Log Message
Revert r249140. rdar://problem/54749102
Modified Paths
Diff
Modified: branches/safari-608-branch/Source/WebCore/ChangeLog (249167 => 249168)
--- branches/safari-608-branch/Source/WebCore/ChangeLog 2019-08-27 21:01:04 UTC (rev 249167)
+++ branches/safari-608-branch/Source/WebCore/ChangeLog 2019-08-27 21:01:07 UTC (rev 249168)
@@ -1,5 +1,9 @@
2019-08-27 Alan Coon <alanc...@apple.com>
+ Revert r249140. rdar://problem/54749102
+
+2019-08-27 Alan Coon <alanc...@apple.com>
+
Revert r249147. rdar://problem/54751753
2019-08-27 Alan Coon <alanc...@apple.com>
Modified: branches/safari-608-branch/Source/WebCore/platform/RuntimeApplicationChecks.h (249167 => 249168)
--- branches/safari-608-branch/Source/WebCore/platform/RuntimeApplicationChecks.h 2019-08-27 21:01:04 UTC (rev 249167)
+++ branches/safari-608-branch/Source/WebCore/platform/RuntimeApplicationChecks.h 2019-08-27 21:01:07 UTC (rev 249168)
@@ -77,7 +77,6 @@
namespace IOSApplication {
WEBCORE_EXPORT bool isMobileMail();
-WEBCORE_EXPORT bool isMailCompositionService();
WEBCORE_EXPORT bool isMobileSafari();
WEBCORE_EXPORT bool isIMDb();
WEBCORE_EXPORT bool isWebBookmarksD();
Modified: branches/safari-608-branch/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm (249167 => 249168)
--- branches/safari-608-branch/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm 2019-08-27 21:01:04 UTC (rev 249167)
+++ branches/safari-608-branch/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm 2019-08-27 21:01:07 UTC (rev 249168)
@@ -202,12 +202,6 @@
return isMobileMail;
}
-bool IOSApplication::isMailCompositionService()
-{
- static bool isMailCompositionService = applicationBundleIsEqualTo("com.apple.MailCompositionService"_s);
- return isMailCompositionService;
-}
-
bool IOSApplication::isMobileSafari()
{
static bool isMobileSafari = applicationBundleIsEqualTo("com.apple.mobilesafari"_s);
Modified: branches/safari-608-branch/Source/WebCore/platform/ios/PlatformPasteboardIOS.mm (249167 => 249168)
--- branches/safari-608-branch/Source/WebCore/platform/ios/PlatformPasteboardIOS.mm 2019-08-27 21:01:04 UTC (rev 249167)
+++ branches/safari-608-branch/Source/WebCore/platform/ios/PlatformPasteboardIOS.mm 2019-08-27 21:01:07 UTC (rev 249168)
@@ -158,7 +158,7 @@
#endif
if (!CGSizeEqualToSize(itemProvider.preferredPresentationSize, CGSizeZero)) {
auto adjustedPreferredPresentationHeight = [](auto height) -> Optional<double> {
- if (!IOSApplication::isMobileMail() && !IOSApplication::isMailCompositionService())
+ if (!IOSApplication::isMobileMail())
return { height };
// Mail's max-width: 100%; default style is in conflict with the preferred presentation size and can lead to unexpectedly stretched images. Not setting the height forces layout to preserve the aspect ratio.
return { };
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes