Title: [230785] trunk/Source/WebCore
- Revision
- 230785
- Author
- megan_gard...@apple.com
- Date
- 2018-04-18 14:54:52 -0700 (Wed, 18 Apr 2018)
Log Message
Ensure correct screen sizes
https://bugs.webkit.org/show_bug.cgi?id=184757
Reviewed by Wenson Hsieh.
Make sure that the screen sizes are actually correct.
Not currently testable, will add tests when it is.
* platform/ios/PlatformScreenIOS.mm:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (230784 => 230785)
--- trunk/Source/WebCore/ChangeLog 2018-04-18 21:43:51 UTC (rev 230784)
+++ trunk/Source/WebCore/ChangeLog 2018-04-18 21:54:52 UTC (rev 230785)
@@ -1,3 +1,16 @@
+2018-04-18 Megan Gardner <megan_gard...@apple.com>
+
+ Ensure correct screen sizes
+ https://bugs.webkit.org/show_bug.cgi?id=184757
+
+ Reviewed by Wenson Hsieh.
+
+ Make sure that the screen sizes are actually correct.
+
+ Not currently testable, will add tests when it is.
+
+ * platform/ios/PlatformScreenIOS.mm:
+
2018-04-18 Nan Wang <n_w...@apple.com>
AX: [macOS] WebKit hangs when triggering an alert from an AOM increment event
Modified: trunk/Source/WebCore/platform/ios/PlatformScreenIOS.mm (230784 => 230785)
--- trunk/Source/WebCore/platform/ios/PlatformScreenIOS.mm 2018-04-18 21:43:51 UTC (rev 230784)
+++ trunk/Source/WebCore/platform/ios/PlatformScreenIOS.mm 2018-04-18 21:54:52 UTC (rev 230785)
@@ -146,10 +146,14 @@
return FloatSize([get_UIKit_UIScreenClass() mainScreen].bounds.size);
}
+#if USE(APPLE_INTERNAL_SDK) && __has_include(<WebKitAdditions/PlatformScreenIOS.mm>)
+#import <WebKitAdditions/PlatformScreenIOS.mm>
+#else
FloatSize overrideScreenSize()
{
return screenSize();
}
+#endif
float screenScaleFactor(UIScreen *screen)
{
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes