[webkit-changes] [WebKit/WebKit] 04a8e9: Adopt dynamicDowncast<> in initializer lists

Anne van Kesteren noreply at github.com
Mon Feb 26 10:51:03 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 04a8e9040886e1de0a6a5575c933d93e810e0671
      https://github.com/WebKit/WebKit/commit/04a8e9040886e1de0a6a5575c933d93e810e0671
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2024-02-26 (Mon, 26 Feb 2024)

  Changed paths:
    M Source/WebCore/history/CachedFrame.cpp
    M Source/WebCore/history/CachedFrame.h
    M Source/WebCore/history/CachedPage.cpp
    M Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm
    M Source/WebCore/rendering/RenderImage.cpp
    M Source/WebCore/rendering/TextBoxPainter.cpp

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

Reviewed by Chris Dumez.

For security & performance.

Thanks to cdumez for help on the approach.

* Source/WebCore/history/CachedFrame.cpp:
(WebCore::CachedFrameBase::CachedFrameBase):
(WebCore::CachedFrameBase::initializeWithLocalFrame):
* Source/WebCore/history/CachedFrame.h:
* Source/WebCore/history/CachedPage.cpp:
(WebCore::CachedPage::CachedPage):
* Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
(WebCore::m_streamDataParser):
* Source/WebCore/rendering/RenderImage.cpp:
(WebCore::RenderImage::RenderImage):
* Source/WebCore/rendering/TextBoxPainter.cpp:
(WebCore::TextBoxPainter<TextBoxPath>::TextBoxPainter):

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



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


More information about the webkit-changes mailing list