[webkit-changes] [WebKit/WebKit] 4146bc: More dynamicDowncast<> adoption in editing and Off...

Anne van Kesteren noreply at github.com
Mon Jan 29 17:40:29 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4146bc852b243a0d9e2f5daf6446cbb5ef44cf29
      https://github.com/WebKit/WebKit/commit/4146bc852b243a0d9e2f5daf6446cbb5ef44cf29
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M Source/WebCore/editing/InsertLineBreakCommand.cpp
    M Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp
    M Source/WebCore/editing/VisiblePosition.cpp
    M Source/WebCore/editing/cocoa/DataDetection.mm
    M Source/WebCore/html/OffscreenCanvas.cpp

  Log Message:
  -----------
  More dynamicDowncast<> adoption in editing and OffscreenCanvas
https://bugs.webkit.org/show_bug.cgi?id=268256

Reviewed by Chris Dumez.

And increase RefPtr usage while there.

* Source/WebCore/editing/InsertLineBreakCommand.cpp:
(WebCore::InsertLineBreakCommand::doApply):
* Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp:
(WebCore::isPhrasingContent):
(WebCore::InsertParagraphSeparatorCommand::doApply):
* Source/WebCore/editing/VisiblePosition.cpp:
(WebCore::midpoint):
* Source/WebCore/editing/cocoa/DataDetection.mm:
(WebCore::DataDetection::isDataDetectorLink):
(WebCore::searchForLinkRemovingExistingDDLinks):
(WebCore::DataDetection::detectContentInRange):
* Source/WebCore/html/OffscreenCanvas.cpp:
(WebCore::OffscreenCanvas::getContext):

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




More information about the webkit-changes mailing list