BUILD FIX: Make AccessibilityUIElementIOS.mm build on iOS
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 13 Apr 2013 01:02:54 +0000 (01:02 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 13 Apr 2013 01:02:54 +0000 (01:02 +0000)
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
Tools/DumpRenderTree/ios/AccessibilityUIElementIOS.mm

index 31700f2..8967909 100644 (file)
@@ -1,3 +1,14 @@
+2013-04-12  David Kilzer  <ddkilzer@apple.com>
+
+        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  <jpfau@apple.com>
 
         Unreviewed, remove an old email address for myself.
index 6138701..10a2ab9 100644 (file)
@@ -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<UniChar> 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"];