Make use of CG rounded-rect primitives
[WebKit-https.git] / Source / WebCore / platform / mac / WebCoreSystemInterface.mm
index e2af89f..fe8b060 100644 (file)
@@ -185,3 +185,7 @@ dispatch_source_t (*wkCreateVMPressureDispatchOnMainQueue)(void);
 NSString *(*wkGetMacOSXVersionString)(void);
 bool (*wkExecutableWasLinkedOnOrBeforeLion)(void);
 #endif
+
+#if !defined(BUILDING_ON_LEOPARD) && !defined(BUILDING_ON_SNOW_LEOPARD)
+void (*wkCGPathAddRoundedRect)(CGMutablePathRef path, const CGAffineTransform* matrix, CGRect rect, CGFloat cornerWidth, CGFloat cornerHeight);
+#endif