Title: [220940] trunk/Source/WebCore
- Revision
- 220940
- Author
- [email protected]
- Date
- 2017-08-18 16:15:06 -0700 (Fri, 18 Aug 2017)
Log Message
Remove classic mode screen scale clamping
https://bugs.webkit.org/show_bug.cgi?id=175739
<rdar://problem/33894531>
Reviewed by Andy Estes.
* platform/ios/PlatformScreenIOS.mm:
(WebCore::screenScaleFactor):
This code is no longer needed.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (220939 => 220940)
--- trunk/Source/WebCore/ChangeLog 2017-08-18 23:02:51 UTC (rev 220939)
+++ trunk/Source/WebCore/ChangeLog 2017-08-18 23:15:06 UTC (rev 220940)
@@ -1,3 +1,15 @@
+2017-08-18 Tim Horton <[email protected]>
+
+ Remove classic mode screen scale clamping
+ https://bugs.webkit.org/show_bug.cgi?id=175739
+ <rdar://problem/33894531>
+
+ Reviewed by Andy Estes.
+
+ * platform/ios/PlatformScreenIOS.mm:
+ (WebCore::screenScaleFactor):
+ This code is no longer needed.
+
2017-08-18 Daewoong Jang <[email protected]>
[Curl] Improve multi-threaded networking
Modified: trunk/Source/WebCore/platform/ios/PlatformScreenIOS.mm (220939 => 220940)
--- trunk/Source/WebCore/platform/ios/PlatformScreenIOS.mm 2017-08-18 23:02:51 UTC (rev 220939)
+++ trunk/Source/WebCore/platform/ios/PlatformScreenIOS.mm 2017-08-18 23:15:06 UTC (rev 220940)
@@ -144,14 +144,7 @@
if (!screen)
screen = [get_UIKit_UIScreenClass() mainScreen];
- CGFloat scale = screen.scale;
-
- // We can remove this clamping once <rdar://problem/16395475> is fixed.
- const CGFloat maximumClassicScreenScaleFactor = 2;
- if ([[get_UIKit_UIApplicationClass() sharedApplication] _isClassic])
- return std::min(scale, maximumClassicScreenScaleFactor);
-
- return scale;
+ return screen.scale;
}
} // namespace WebCore
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes