[webkit-changes] [WebKit/WebKit] 945e76: Adopt dynamicDowncast<> in Editing

Anne van Kesteren noreply at github.com
Fri Jan 12 15:03:59 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 945e760e7496263ff31ff6427771a7252f8810c9
      https://github.com/WebKit/WebKit/commit/945e760e7496263ff31ff6427771a7252f8810c9
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2024-01-12 (Fri, 12 Jan 2024)

  Changed paths:
    M Source/WebCore/editing/Editing.cpp

  Log Message:
  -----------
  Adopt dynamicDowncast<> in Editing
https://bugs.webkit.org/show_bug.cgi?id=267222

Reviewed by Darin Adler.

This leaves some downcasts as an exercise for someone else.

* Source/WebCore/editing/Editing.cpp:
(WebCore::closestEditablePositionInElementForAbsolutePoint):
(WebCore::enclosingElementWithTag):
(WebCore::enclosingAnchorElement):
(WebCore::canMergeLists):
(WebCore::isRenderedTable):
(WebCore::isEmptyTableCell):
(WebCore::isTabSpanNode):
(WebCore::tabSpanNode):
(WebCore::caretMaxOffset):
(WebCore::lineBreakExistsAtPosition):
(WebCore::areIdenticalElements):
(WebCore::isBlockFlowElement):
(WebCore::visibleImageElementsInRangeWithNonLoadedImages):

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




More information about the webkit-changes mailing list