Commit cd3f5106 authored by cfleizach@apple.com's avatar cfleizach@apple.com

AX: Bounding paths should be made available through accessibility

https://bugs.webkit.org/show_bug.cgi?id=113817

Unreviewed build fix.

* accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(WebTransformCGPathToNSBezierPath):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148042 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 5df081e2
2013-04-09 Chris Fleizach <cfleizach@apple.com>
AX: Bounding paths should be made available through accessibility
https://bugs.webkit.org/show_bug.cgi?id=113817
Unreviewed build fix.
* accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(WebTransformCGPathToNSBezierPath):
2013-04-09 Chris Fleizach <cfleizach@apple.com>
AX: Bounding paths should be made available through accessibility
......@@ -1534,13 +1534,13 @@ static void WebTransformCGPathToNSBezierPath(void *info, const CGPathElement *el
NSBezierPath *bezierPath = (NSBezierPath *)info;
switch (element->type) {
case kCGPathElementMoveToPoint:
[bezierPath moveToPoint:element->points[0]];
[bezierPath moveToPoint:NSPointFromCGPoint(element->points[0])];
break;
case kCGPathElementAddLineToPoint:
[bezierPath lineToPoint:element->points[0]];
[bezierPath lineToPoint:NSPointFromCGPoint(element->points[0])];
break;
case kCGPathElementAddCurveToPoint:
[bezierPath curveToPoint:element->points[0] controlPoint1:element->points[1] controlPoint2:element->points[2]];
[bezierPath curveToPoint:NSPointFromCGPoint(element->points[0]) controlPoint1:NSPointFromCGPoint(element->points[1]) controlPoint2:NSPointFromCGPoint(element->points[2])];
break;
case kCGPathElementCloseSubpath:
[bezierPath closePath];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment