Changeset 181451 in webkit


Ignore:
Timestamp:
Mar 12, 2015, 1:24:16 PM (10 years ago)
Author:
ap@apple.com
Message:

[Mavericks] Test snapshots are 1600x1200 on Retina devices
https://bugs.webkit.org/show_bug.cgi?id=142630

Reviewed by Tim Horton.

  • WebKitTestRunner/mac/PlatformWebViewMac.mm: (WTR::PlatformWebView::windowSnapshotImage):

Removed an ifdef that disabled the fix on Mavericks.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r181447 r181451  
     12015-03-12  Alexey Proskuryakov  <ap@apple.com>
     2
     3        [Mavericks] Test snapshots are 1600x1200 on Retina devices
     4        https://bugs.webkit.org/show_bug.cgi?id=142630
     5
     6        Reviewed by Tim Horton.
     7
     8        * WebKitTestRunner/mac/PlatformWebViewMac.mm: (WTR::PlatformWebView::windowSnapshotImage):
     9        Removed an ifdef that disabled the fix on Mavericks.
     10
    1112015-03-12  Csaba Osztrogonác  <ossy@webkit.org>
    212
  • trunk/Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm

    r179639 r181451  
    234234    CGWindowImageOption options = kCGWindowImageBoundsIgnoreFraming | kCGWindowImageShouldBeOpaque;
    235235
    236 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
    237236    if ([m_window backingScaleFactor] == 1)
    238237        options |= kCGWindowImageNominalResolution;
    239 #endif
    240238
    241239    RetainPtr<CGImageRef> windowSnapshotImage = adoptCF(CGWindowListCreateImage(CGRectNull, kCGWindowListOptionIncludingWindow, [m_window windowNumber], options));
Note: See TracChangeset for help on using the changeset viewer.