Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f726d50970122115c7eb9642e1f4a7228cc45d86
      
https://github.com/WebKit/WebKit/commit/f726d50970122115c7eb9642e1f4a7228cc45d86
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M Source/WebCore/rendering/RenderTable.cpp

  Log Message:
  -----------
  Avoid redundant downcast in RenderTable::sectionAbove/sectionBelow
https://bugs.webkit.org/show_bug.cgi?id=316626
rdar://179066459

Reviewed by Dan Glastonbury.

Reuse the RenderTableSection pointer already obtained via dynamicDowncast
instead of downcasting the RenderObject again to call numRows(). The
preceding tableSection && guard guarantees it is non-null. No change in
behavior.

* Source/WebCore/rendering/RenderTable.cpp:
(WebCore::RenderTable::sectionAbove const):
(WebCore::RenderTable::sectionBelow const):

Canonical link: https://commits.webkit.org/314804@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to