<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AX: Expose table size and cell indexes on iOS"
   href="https://bugs.webkit.org/show_bug.cgi?id=150366#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AX: Expose table size and cell indexes on iOS"
   href="https://bugs.webkit.org/show_bug.cgi?id=150366">bug 150366</a>
              from <span class="vcard"><a class="email" href="mailto:cfleizach&#64;apple.com" title="chris fleizach &lt;cfleizach&#64;apple.com&gt;"> <span class="fn">chris fleizach</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=263604&amp;action=diff" name="attach_263604" title="patch">attachment 263604</a> <a href="attachment.cgi?id=263604&amp;action=edit" title="patch">[details]</a></span>
patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=263604&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=263604&amp;action=review</a>

I'm wondering

<span class="quote">&gt; Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:921
&gt; +    for (parentTable = m_object; parentTable &amp;&amp; !parentTable-&gt;isTable(); parentTable = parentTable-&gt;parentObject())</span >

why the change here

<span class="quote">&gt; Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:1012
&gt; +    return rowCount &gt; 0 ? rowCount : 0;</span >

can we write as

return table-&gt;rowCount() &gt; 0 ? : 0;

<span class="quote">&gt; Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:1024
&gt; +    return colCount &gt; 0 ? colCount : 0;</span >

ditto

<span class="quote">&gt; Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:1036
&gt; +    return rowCount &gt; 0 ? rowCount : 0;</span >

ditto

<span class="quote">&gt; Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:1048
&gt; +    return colCount &gt; 0 ? colCount : 0;</span >

ditto</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>