Title: [186173] trunk/Source/WebKit2
- Revision
- 186173
- Author
- commit-qu...@webkit.org
- Date
- 2015-07-01 01:51:40 -0700 (Wed, 01 Jul 2015)
Log Message
[Mac] Confusing RetainPtr use in TiledCoreAnimationDrawingArea
https://bugs.webkit.org/show_bug.cgi?id=146503
Patch by Joseph Pecoraro <pecor...@apple.com> on 2015-07-01
Reviewed by Tim Horton.
* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
(WebKit::TiledCoreAnimationDrawingArea::commitTransientZoom):
Simplify adoption into a new RetainPtr.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (186172 => 186173)
--- trunk/Source/WebKit2/ChangeLog 2015-07-01 06:26:23 UTC (rev 186172)
+++ trunk/Source/WebKit2/ChangeLog 2015-07-01 08:51:40 UTC (rev 186173)
@@ -1,3 +1,14 @@
+2015-07-01 Joseph Pecoraro <pecor...@apple.com>
+
+ [Mac] Confusing RetainPtr use in TiledCoreAnimationDrawingArea
+ https://bugs.webkit.org/show_bug.cgi?id=146503
+
+ Reviewed by Tim Horton.
+
+ * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+ (WebKit::TiledCoreAnimationDrawingArea::commitTransientZoom):
+ Simplify adoption into a new RetainPtr.
+
2015-06-30 Simon Fraser <simon.fra...@apple.com>
Fix CoordinatedGraphics.
Modified: trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm (186172 => 186173)
--- trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm 2015-07-01 06:26:23 UTC (rev 186172)
+++ trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm 2015-07-01 08:51:40 UTC (rev 186173)
@@ -789,7 +789,7 @@
if (shadowCALayer) {
FloatRect shadowBounds = shadowLayerBoundsForFrame(frameView, scale);
- RetainPtr<CGPathRef> shadowPath = adoptCF(CGPathCreateWithRect(shadowBounds, NULL)).get();
+ RetainPtr<CGPathRef> shadowPath = adoptCF(CGPathCreateWithRect(shadowBounds, NULL));
RetainPtr<CABasicAnimation> shadowBoundsAnimation = transientZoomSnapAnimationForKeyPath("bounds");
[shadowBoundsAnimation setToValue:[NSValue valueWithRect:shadowBounds]];
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes