Modified: trunk/Source/WebKit2/UIProcess/mac/ViewGestureControllerMac.mm (186173 => 186174)
--- trunk/Source/WebKit2/UIProcess/mac/ViewGestureControllerMac.mm 2015-07-01 08:51:40 UTC (rev 186173)
+++ trunk/Source/WebKit2/UIProcess/mac/ViewGestureControllerMac.mm 2015-07-01 08:55:02 UTC (rev 186174)
@@ -637,22 +637,22 @@
m_swipeShadowLayer = adoptNS([[CAGradientLayer alloc] init]);
[m_swipeShadowLayer setName:@"Gesture Swipe Shadow Layer"];
[m_swipeShadowLayer setColors:@[
- (id)CGColorCreateGenericGray(0, 1.),
- (id)CGColorCreateGenericGray(0, 0.99),
- (id)CGColorCreateGenericGray(0, 0.98),
- (id)CGColorCreateGenericGray(0, 0.95),
- (id)CGColorCreateGenericGray(0, 0.92),
- (id)CGColorCreateGenericGray(0, 0.82),
- (id)CGColorCreateGenericGray(0, 0.71),
- (id)CGColorCreateGenericGray(0, 0.46),
- (id)CGColorCreateGenericGray(0, 0.35),
- (id)CGColorCreateGenericGray(0, 0.25),
- (id)CGColorCreateGenericGray(0, 0.17),
- (id)CGColorCreateGenericGray(0, 0.11),
- (id)CGColorCreateGenericGray(0, 0.07),
- (id)CGColorCreateGenericGray(0, 0.04),
- (id)CGColorCreateGenericGray(0, 0.01),
- (id)CGColorCreateGenericGray(0, 0.),
+ (id)adoptCF(CGColorCreateGenericGray(0, 1.)).get(),
+ (id)adoptCF(CGColorCreateGenericGray(0, 0.99)).get(),
+ (id)adoptCF(CGColorCreateGenericGray(0, 0.98)).get(),
+ (id)adoptCF(CGColorCreateGenericGray(0, 0.95)).get(),
+ (id)adoptCF(CGColorCreateGenericGray(0, 0.92)).get(),
+ (id)adoptCF(CGColorCreateGenericGray(0, 0.82)).get(),
+ (id)adoptCF(CGColorCreateGenericGray(0, 0.71)).get(),
+ (id)adoptCF(CGColorCreateGenericGray(0, 0.46)).get(),
+ (id)adoptCF(CGColorCreateGenericGray(0, 0.35)).get(),
+ (id)adoptCF(CGColorCreateGenericGray(0, 0.25)).get(),
+ (id)adoptCF(CGColorCreateGenericGray(0, 0.17)).get(),
+ (id)adoptCF(CGColorCreateGenericGray(0, 0.11)).get(),
+ (id)adoptCF(CGColorCreateGenericGray(0, 0.07)).get(),
+ (id)adoptCF(CGColorCreateGenericGray(0, 0.04)).get(),
+ (id)adoptCF(CGColorCreateGenericGray(0, 0.01)).get(),
+ (id)adoptCF(CGColorCreateGenericGray(0, 0.)).get(),
]];
[m_swipeShadowLayer setLocations:@[
@0,