Changeset 220940 in webkit
- Timestamp:
- Aug 18, 2017, 4:15:06 PM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/ios/PlatformScreenIOS.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r220939 r220940 1 2017-08-18 Tim Horton <timothy_horton@apple.com> 2 3 Remove classic mode screen scale clamping 4 https://bugs.webkit.org/show_bug.cgi?id=175739 5 <rdar://problem/33894531> 6 7 Reviewed by Andy Estes. 8 9 * platform/ios/PlatformScreenIOS.mm: 10 (WebCore::screenScaleFactor): 11 This code is no longer needed. 12 1 13 2017-08-18 Daewoong Jang <daewoong.jang@navercorp.com> 2 14 -
trunk/Source/WebCore/platform/ios/PlatformScreenIOS.mm
r220809 r220940 145 145 screen = [get_UIKit_UIScreenClass() mainScreen]; 146 146 147 CGFloat scale = screen.scale; 148 149 // We can remove this clamping once <rdar://problem/16395475> is fixed. 150 const CGFloat maximumClassicScreenScaleFactor = 2; 151 if ([[get_UIKit_UIApplicationClass() sharedApplication] _isClassic]) 152 return std::min(scale, maximumClassicScreenScaleFactor); 153 154 return scale; 147 return screen.scale; 155 148 } 156 149
Note:
See TracChangeset
for help on using the changeset viewer.