[webkit-changes] [WebKit/WebKit] b838f8: Adopt more smart pointers in LocalDOMWindow

Rob Buis noreply at github.com
Tue Jul 23 08:20:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b838f8bb3573bd5906bc5f02fcc8cb274b3c9b8a
      https://github.com/WebKit/WebKit/commit/b838f8bb3573bd5906bc5f02fcc8cb274b3c9b8a
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M Source/WebCore/page/LocalDOMWindow.cpp

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

Reviewed by Chris Dumez.

Adopt more smart pointers in LocalDOMWindow based on the
[alpha.webkit.UncountedLocalVarsChecker] warning.

* Source/WebCore/page/LocalDOMWindow.cpp:
(WebCore::allowsBeforeUnloadListeners):
(WebCore::LocalDOMWindow::allowPopUp):
(WebCore::LocalDOMWindow::isCurrentlyDisplayedInFrame const):
(WebCore::LocalDOMWindow::collectMatchingElementsInFlatTree):
(WebCore::LocalDOMWindow::matchingElementInFlatTree):
(WebCore::LocalDOMWindow::closePage):
(WebCore::LocalDOMWindow::origin const):
(WebCore::LocalDOMWindow::securityOrigin const):

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