[webkit-changes] [WebKit/WebKit] a1ad49: Adopt more smart pointers in ContentVisibilityDocu...

Chris Dumez noreply at github.com
Tue Oct 17 08:50:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a1ad490d8e42d1d9904153c766b1c7d141799915
      https://github.com/WebKit/WebKit/commit/a1ad490d8e42d1d9904153c766b1c7d141799915
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-10-17 (Tue, 17 Oct 2023)

  Changed paths:
    M Source/WebCore/dom/ContentVisibilityDocumentState.cpp

  Log Message:
  -----------
  Adopt more smart pointers in ContentVisibilityDocumentState
https://bugs.webkit.org/show_bug.cgi?id=263237

Reviewed by Ryosuke Niwa.

* Source/WebCore/dom/ContentVisibilityDocumentState.cpp:
(WebCore::ContentVisibilityDocumentState::observe):
(WebCore::ContentVisibilityDocumentState::unobserve):
(WebCore::ContentVisibilityDocumentState::intersectionObserver):
(WebCore::ContentVisibilityDocumentState::checkRelevancyOfContentVisibilityElement const):
(WebCore::ContentVisibilityDocumentState::updateRelevancyOfContentVisibilityElements const):
(WebCore::ContentVisibilityDocumentState::determineInitialVisibleContentVisibility const):
(WebCore::ContentVisibilityDocumentState::updateContentRelevancyForScrollIfNeeded):
(WebCore::ContentVisibilityDocumentState::updateViewportProximity):
(WebCore::ContentVisibilityDocumentState::updateAnimations):

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




More information about the webkit-changes mailing list