[webkit-changes] [WebKit/WebKit] c57c9c: Use smart pointers in FrameTree iteration

Rob Buis noreply at github.com
Tue Aug 27 08:54:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c57c9c852933fddf857a4ff7107b8eb29845f9c6
      https://github.com/WebKit/WebKit/commit/c57c9c852933fddf857a4ff7107b8eb29845f9c6
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

  Changed paths:
    M Source/WebCore/history/BackForwardCache.cpp
    M Source/WebCore/history/CachedFrame.cpp
    M Source/WebCore/loader/HistoryController.cpp
    M Source/WebCore/page/PageSerializer.cpp
    M Source/WebCore/page/ios/FrameIOS.mm
    M Source/WebCore/page/scrolling/ScrollingCoordinator.cpp

  Log Message:
  -----------
  Use smart pointers in FrameTree iteration
https://bugs.webkit.org/show_bug.cgi?id=278711

Reviewed by Chris Dumez.

Use smart pointers in FrameTree iteration based on the
[alpha.webkit.UncountedLocalVarsChecker] warning.

* Source/WebCore/history/BackForwardCache.cpp:
(WebCore::canCacheFrame):
(WebCore::firePageHideEventRecursively):
* Source/WebCore/history/CachedFrame.cpp:
(WebCore::CachedFrame::CachedFrame):
* Source/WebCore/loader/HistoryController.cpp:
(WebCore::HistoryController::recursiveUpdateForCommit):
(WebCore::HistoryController::recursiveUpdateForSameDocumentNavigation):
(WebCore::HistoryController::clearPreviousItem):
* Source/WebCore/page/PageSerializer.cpp:
(WebCore::PageSerializer::serializeFrame):
* Source/WebCore/page/ios/FrameIOS.mm:
(WebCore::LocalFrame::recursiveSetUpdateAppearanceEnabled):
(WebCore::LocalFrame::resetAllGeolocationPermission):
* Source/WebCore/page/scrolling/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::absoluteEventTrackingRegionsForFrame const):

Canonical link: https://commits.webkit.org/282793@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