Title: [181451] trunk/Tools
- Revision
- 181451
- Author
- [email protected]
- Date
- 2015-03-12 13:24:16 -0700 (Thu, 12 Mar 2015)
Log 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.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (181450 => 181451)
--- trunk/Tools/ChangeLog 2015-03-12 19:44:26 UTC (rev 181450)
+++ trunk/Tools/ChangeLog 2015-03-12 20:24:16 UTC (rev 181451)
@@ -1,3 +1,13 @@
+2015-03-12 Alexey Proskuryakov <[email protected]>
+
+ [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.
+
2015-03-12 Csaba Osztrogonác <[email protected]>
Remove isWK2 cruft from webkitdirs.pm after r170426
Modified: trunk/Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm (181450 => 181451)
--- trunk/Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm 2015-03-12 19:44:26 UTC (rev 181450)
+++ trunk/Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm 2015-03-12 20:24:16 UTC (rev 181451)
@@ -233,10 +233,8 @@
[m_view display];
CGWindowImageOption options = kCGWindowImageBoundsIgnoreFraming | kCGWindowImageShouldBeOpaque;
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
if ([m_window backingScaleFactor] == 1)
options |= kCGWindowImageNominalResolution;
-#endif
RetainPtr<CGImageRef> windowSnapshotImage = adoptCF(CGWindowListCreateImage(CGRectNull, kCGWindowListOptionIncludingWindow, [m_window windowNumber], options));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes