Title: [97285] trunk/Tools
Revision
97285
Author
[email protected]
Date
2011-10-12 12:23:50 -0700 (Wed, 12 Oct 2011)

Log Message

3D transforms are flattened in WebKit2 snapshots
https://bugs.webkit.org/show_bug.cgi?id=68276

Reviewed by Adam Roben.

Fix WKImage leak noticed by Adam.

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

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (97284 => 97285)


--- trunk/Tools/ChangeLog	2011-10-12 19:13:09 UTC (rev 97284)
+++ trunk/Tools/ChangeLog	2011-10-12 19:23:50 UTC (rev 97285)
@@ -1,3 +1,15 @@
+2011-10-12  Simon Fraser  <[email protected]>
+
+        3D transforms are flattened in WebKit2 snapshots
+        https://bugs.webkit.org/show_bug.cgi?id=68276
+
+        Reviewed by Adam Roben.
+        
+        Fix WKImage leak noticed by Adam.
+
+        * WebKitTestRunner/mac/PlatformWebViewMac.mm:
+        (WTR::PlatformWebView::windowSnapshotImage):
+
 2011-10-12  Dimitri Glazkov  <[email protected]>
 
         garden-o-matic should color-code test failure types.

Modified: trunk/Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm (97284 => 97285)


--- trunk/Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm	2011-10-12 19:13:09 UTC (rev 97284)
+++ trunk/Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm	2011-10-12 19:23:50 UTC (rev 97285)
@@ -132,7 +132,7 @@
 {
     [m_view display];
     RetainPtr<CGImageRef> windowSnapshotImage(AdoptCF, CGWindowListCreateImage(CGRectNull, kCGWindowListOptionIncludingWindow, [m_window windowNumber], kCGWindowImageBoundsIgnoreFraming | kCGWindowImageShouldBeOpaque));
-    return WKImageCreateFromCGImage(windowSnapshotImage.get(), 0);
+    return adoptWK(WKImageCreateFromCGImage(windowSnapshotImage.get(), 0));
 }
 
 } // namespace WTR
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to