Title: [201585] trunk/Source/WebCore
Revision
201585
Author
[email protected]
Date
2016-06-01 20:19:54 -0700 (Wed, 01 Jun 2016)

Log Message

LayoutTest accessibility/ios-simulator/attributed-string-for-range.html failing on ios-simulator debug
https://bugs.webkit.org/show_bug.cgi?id=158279

Reviewed by Alexey Proskuryakov.

Just use the same description for debug and release. We're not getting any benefit from having two.

* accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper description]):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (201584 => 201585)


--- trunk/Source/WebCore/ChangeLog	2016-06-02 03:18:16 UTC (rev 201584)
+++ trunk/Source/WebCore/ChangeLog	2016-06-02 03:19:54 UTC (rev 201585)
@@ -1,3 +1,15 @@
+2016-06-01  Chris Fleizach  <[email protected]>
+
+        LayoutTest accessibility/ios-simulator/attributed-string-for-range.html failing on ios-simulator debug
+        https://bugs.webkit.org/show_bug.cgi?id=158279
+
+        Reviewed by Alexey Proskuryakov.
+
+        Just use the same description for debug and release. We're not getting any benefit from having two.
+
+        * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+        (-[WebAccessibilityObjectWrapper description]):
+
 2016-06-01  Chris Dumez  <[email protected]>
 
         Use HashMap::ensure() in DocumentOrderedMap::add()

Modified: trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm (201584 => 201585)


--- trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm	2016-06-02 03:18:16 UTC (rev 201584)
+++ trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm	2016-06-02 03:19:54 UTC (rev 201585)
@@ -2866,12 +2866,7 @@
 
 - (NSString *)description
 {
-#ifndef NDEBUG
-    CGRect frame = [self accessibilityFrame];
-    return [NSString stringWithFormat:@"Role: (%d) - Text: %@: Value: %@ -- Frame: %f %f %f %f", m_object ? m_object->roleValue() : 0, [self accessibilityLabel], [self accessibilityValue], frame.origin.x, frame.origin.y, frame.size.width, frame.size.height];
-#else
     return [NSString stringWithFormat:@"%@: %@", [self class], [self accessibilityLabel]];
-#endif
 }
 
 @end
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to