Changeset 221004 in webkit
- Timestamp:
- Aug 21, 2017, 10:54:30 PM (9 years ago)
- Location:
- branches/safari-604-branch/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/ios/PlatformScreenIOS.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-604-branch/Source/WebCore/ChangeLog
r220789 r221004 1 2017-08-21 Jason Marcell <jmarcell@apple.com> 2 3 Cherry-pick r220940. rdar://problem/33994308 4 5 2017-08-18 Tim Horton <timothy_horton@apple.com> 6 7 Remove classic mode screen scale clamping 8 https://bugs.webkit.org/show_bug.cgi?id=175739 9 <rdar://problem/33894531> 10 11 Reviewed by Andy Estes. 12 13 * platform/ios/PlatformScreenIOS.mm: 14 (WebCore::screenScaleFactor): 15 This code is no longer needed. 16 1 17 2017-08-15 Jason Marcell <jmarcell@apple.com> 2 18 -
branches/safari-604-branch/Source/WebCore/platform/ios/PlatformScreenIOS.mm
r219191 r221004 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.