Changeset 230785 in webkit


Ignore:
Timestamp:
Apr 18, 2018 2:54:52 PM (6 years ago)
Author:
Megan Gardner
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:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r230782 r230785  
     12018-04-18  Megan Gardner  <megan_gardner@apple.com>
     2
     3        Ensure correct screen sizes
     4        https://bugs.webkit.org/show_bug.cgi?id=184757
     5       
     6        Reviewed by Wenson Hsieh.
     7       
     8        Make sure that the screen sizes are actually correct.
     9
     10        Not currently testable, will add tests when it is.
     11
     12        * platform/ios/PlatformScreenIOS.mm:
     13
    1142018-04-18  Nan Wang  <n_wang@apple.com>
    215
  • trunk/Source/WebCore/platform/ios/PlatformScreenIOS.mm

    r230059 r230785  
    147147}
    148148
     149#if USE(APPLE_INTERNAL_SDK) && __has_include(<WebKitAdditions/PlatformScreenIOS.mm>)
     150#import <WebKitAdditions/PlatformScreenIOS.mm>
     151#else
    149152FloatSize overrideScreenSize()
    150153{
    151154    return screenSize();
    152155}
     156#endif
    153157
    154158float screenScaleFactor(UIScreen *screen)
Note: See TracChangeset for help on using the changeset viewer.