⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 221004 in webkit


Ignore:
Timestamp:
Aug 21, 2017, 10:54:30 PM (9 years ago)
Author:
jmarcell@apple.com
Message:

Cherry-pick r220940. rdar://problem/33994308

Location:
branches/safari-604-branch/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-604-branch/Source/WebCore/ChangeLog

    r220789 r221004  
     12017-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
    1172017-08-15  Jason Marcell  <jmarcell@apple.com>
    218
  • branches/safari-604-branch/Source/WebCore/platform/ios/PlatformScreenIOS.mm

    r219191 r221004  
    145145        screen = [get_UIKit_UIScreenClass() mainScreen];
    146146
    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;
    155148}
    156149
Note: See TracChangeset for help on using the changeset viewer.