Changeset 181451 in webkit
- Timestamp:
- Mar 12, 2015, 1:24:16 PM (10 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r181447 r181451 1 2015-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 1 11 2015-03-12 Csaba Osztrogonác <ossy@webkit.org> 2 12 -
trunk/Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm
r179639 r181451 234 234 CGWindowImageOption options = kCGWindowImageBoundsIgnoreFraming | kCGWindowImageShouldBeOpaque; 235 235 236 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000237 236 if ([m_window backingScaleFactor] == 1) 238 237 options |= kCGWindowImageNominalResolution; 239 #endif240 238 241 239 RetainPtr<CGImageRef> windowSnapshotImage = adoptCF(CGWindowListCreateImage(CGRectNull, kCGWindowListOptionIncludingWindow, [m_window windowNumber], options));
Note:
See TracChangeset
for help on using the changeset viewer.