[webkit-changes] [WebKit/WebKit] cde484: Adopt more smart pointers in History.cpp

Rob Buis noreply at github.com
Fri May 3 03:10:11 PDT 2024


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

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

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

Reviewed by Sihui Liu.

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

* Source/WebCore/page/History.cpp:
(WebCore::History::length const):
(WebCore::History::scrollRestoration const):
(WebCore::History::setScrollRestoration):
(WebCore::History::go):
(WebCore::History::urlForState):

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