[webkit-changes] [WebKit/WebKit] bb1d80: Adopt more smart pointers in Navigator

Rob Buis noreply at github.com
Thu May 9 02:40:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bb1d80ceb53e75aa8c57c8515cf017c6c04b0e8f
      https://github.com/WebKit/WebKit/commit/bb1d80ceb53e75aa8c57c8515cf017c6c04b0e8f
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2024-05-09 (Thu, 09 May 2024)

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

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

Reviewed by Chris Dumez and Tim Nguyen.

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

* Source/WebCore/page/Navigator.cpp:
(WebCore::Navigator::userAgent const):
(WebCore::Navigator::platform const):
(WebCore::Navigator::share):
(WebCore::Navigator::showShareData):
(WebCore::Navigator::initializePluginAndMimeTypeArrays):
(WebCore::Navigator::cookieEnabled const):
(WebCore::Navigator::setAppBadge):
(WebCore::Navigator::setClientBadge):

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