[webkit-changes] [WebKit/WebKit] 40e9c1: Adopt more smart pointers under Source/WebCore/his...

Chris Dumez noreply at github.com
Mon Jan 22 16:22:59 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 40e9c18174eebf0b67720ece5abe096eb763d90f
      https://github.com/WebKit/WebKit/commit/40e9c18174eebf0b67720ece5abe096eb763d90f
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M Source/WebCore/history/BackForwardCache.cpp
    M Source/WebCore/history/BackForwardController.cpp
    M Source/WebCore/history/BackForwardController.h
    M Source/WebCore/history/CachedFrame.cpp
    M Source/WebCore/history/CachedFrame.h
    M Source/WebCore/history/CachedPage.cpp
    M Source/WebCore/history/CachedPage.h
    M Source/WebCore/page/DiagnosticLoggingClient.h
    M Source/WebCore/page/LocalFrame.cpp
    M Source/WebCore/page/LocalFrame.h

  Log Message:
  -----------
  Adopt more smart pointers under Source/WebCore/history/
https://bugs.webkit.org/show_bug.cgi?id=267877

Reviewed by Geoffrey Garen.

* Source/WebCore/history/BackForwardCache.cpp:
(WebCore::canCacheFrame):
(WebCore::canCachePage):
(WebCore::BackForwardCache::markPagesForDeviceOrPageScaleChanged):
(WebCore::BackForwardCache::markPagesForContentsSizeChanged):
(WebCore::BackForwardCache::markPagesForCaptionPreferencesChanged):
(WebCore::destroyRenderTree):
(WebCore::firePageHideEventRecursively):
(WebCore::BackForwardCache::trySuspendPage):
(WebCore::BackForwardCache::take):
(WebCore::BackForwardCache::removeAllItemsForPage):
(WebCore::BackForwardCache::get):
(WebCore::BackForwardCache::prune):
(WebCore::BackForwardCache::clearEntriesForOrigins):
* Source/WebCore/history/BackForwardController.cpp:
(WebCore::BackForwardController::protectedPage const):
(WebCore::BackForwardController::protectedClient const):
(WebCore::BackForwardController::goBackOrForward):
(WebCore::BackForwardController::goBack):
(WebCore::BackForwardController::goForward):
(WebCore::BackForwardController::addItem):
(WebCore::BackForwardController::setCurrentItem):
(WebCore::BackForwardController::containsItem const):
(WebCore::BackForwardController::count const):
(WebCore::BackForwardController::backCount const):
(WebCore::BackForwardController::forwardCount const):
(WebCore::BackForwardController::itemAtIndex):
(WebCore::BackForwardController::close):
* Source/WebCore/history/BackForwardController.h:
* Source/WebCore/history/CachedFrame.cpp:
(WebCore::CachedFrameBase::protectedView const):
(WebCore::CachedFrameBase::restore):
(WebCore::CachedFrame::CachedFrame):
(WebCore::CachedFrame::open):
(WebCore::CachedFrame::destroy):
* Source/WebCore/history/CachedFrame.h:
* Source/WebCore/history/CachedPage.cpp:
(WebCore::firePageShowEvent):
(WebCore::CachedPageRestorationScope::CachedPageRestorationScope):
(WebCore::CachedPageRestorationScope::~CachedPageRestorationScope):
(WebCore::CachedPage::restore):
* Source/WebCore/history/CachedPage.h:
(WebCore::CachedPage::page const):
* Source/WebCore/page/DiagnosticLoggingClient.h:
* Source/WebCore/page/LocalFrame.cpp:
(WebCore::LocalFrame::checkedSelection const):
* Source/WebCore/page/LocalFrame.h:

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




More information about the webkit-changes mailing list