From 5b66279d308738c651e238c92c8365aa3ee657e1 Mon Sep 17 00:00:00 2001 From: "ddkilzer@apple.com" Date: Sat, 13 Apr 2013 01:02:54 +0000 Subject: [PATCH] BUILD FIX: Make AccessibilityUIElementIOS.mm build on iOS Reviewed by Chris Fleizach. * DumpRenderTree/ios/AccessibilityUIElementIOS.mm: Declare -_accessibilityPath from the WebAccessibilityObjectWrapper class. (_CGPathEnumerationIteration): Remove unused CGPoint* variable. git-svn-id: https://svn.webkit.org/repository/webkit/trunk@148328 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Tools/ChangeLog | 11 +++++++++++ Tools/DumpRenderTree/ios/AccessibilityUIElementIOS.mm | 5 ++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Tools/ChangeLog b/Tools/ChangeLog index 31700f2232f7..8967909c29d1 100644 --- a/Tools/ChangeLog +++ b/Tools/ChangeLog @@ -1,3 +1,14 @@ +2013-04-12 David Kilzer + + BUILD FIX: Make AccessibilityUIElementIOS.mm build on iOS + + Reviewed by Chris Fleizach. + + * DumpRenderTree/ios/AccessibilityUIElementIOS.mm: Declare + -_accessibilityPath from the WebAccessibilityObjectWrapper + class. + (_CGPathEnumerationIteration): Remove unused CGPoint* variable. + 2013-04-12 Jeffrey Pfau Unreviewed, remove an old email address for myself. diff --git a/Tools/DumpRenderTree/ios/AccessibilityUIElementIOS.mm b/Tools/DumpRenderTree/ios/AccessibilityUIElementIOS.mm index 61387010f588..10a2ab9b1e40 100644 --- a/Tools/DumpRenderTree/ios/AccessibilityUIElementIOS.mm +++ b/Tools/DumpRenderTree/ios/AccessibilityUIElementIOS.mm @@ -79,6 +79,10 @@ AccessibilityUIElement::~AccessibilityUIElement() - (void)accessibilitySetPostedNotificationCallback:(AXPostedNotificationCallback)function withContext:(void*)context; @end +@interface NSObject (WebAccessibilityObjectWrapperPrivate) +- (CGPathRef)_accessibilityPath; +@end + static JSStringRef concatenateAttributeAndValue(NSString* attribute, NSString* value) { Vector buffer([attribute length]); @@ -344,7 +348,6 @@ void AccessibilityUIElement::elementsForRange(unsigned location, unsigned length static void _CGPathEnumerationIteration(void *info, const CGPathElement *element) { NSMutableString *result = (NSMutableString *)info; - CGPoint* points = element->points; switch (element->type) { case kCGPathElementMoveToPoint: [result appendString:@"\tMove to point\n"]; -- 2.36.0