[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:29:01 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit ce2cf9a5c9dc84609a7a60cb8abb240cab7cfd37
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Mar 9 22:12:32 2004 +0000

    	Make the AXLinkUIElements attribute always return an array (never return nil).
    
            * kwq/KWQAccObject.mm:
            (-[KWQAccObject accessibilityAttributeValue:]):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6190 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index bd74053..01a4f81 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,12 @@
 2004-03-09  David Hyatt  <hyatt at apple.com>
 
+	Make the AXLinkUIElements attribute always return an array (never return nil).
+	
+        * kwq/KWQAccObject.mm:
+        (-[KWQAccObject accessibilityAttributeValue:]):
+
+2004-03-09  David Hyatt  <hyatt at apple.com>
+
 	(1) Change root element in a document to have a role of AXWebArea.
 	(2) Add support for AXURL to links and children of links.
 	(3) Add support for AXLinkUIElements to the AXWebArea
diff --git a/WebCore/kwq/KWQAccObject.mm b/WebCore/kwq/KWQAccObject.mm
index 2228993..b4906d9 100644
--- a/WebCore/kwq/KWQAccObject.mm
+++ b/WebCore/kwq/KWQAccObject.mm
@@ -496,10 +496,10 @@ static QRect boundingBoxRect(RenderObject* obj)
     }
 
     if ([attributeName isEqualToString: @"AXLinkUIElements"] && m_renderer->isCanvas()) {
+        NSMutableArray* links = [NSMutableArray arrayWithCapacity: 32];
         HTMLCollection coll(m_renderer->document(), HTMLCollectionImpl::DOC_LINKS);
         if (coll.isNull())
-            return nil;
-        NSMutableArray* links = [NSMutableArray arrayWithCapacity: 32];
+            return links;
         Node curr = coll.firstItem();
         while (!curr.isNull()) {
             RenderObject* obj = curr.handle()->renderer();

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list