[webkit-changes] [WebKit/WebKit] 500b32: Deploy more smart pointers in WebProcessCache.cpp

Ryosuke Niwa noreply at github.com
Mon Feb 10 16:23:45 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 500b32f29f1f3e1e32c7ba69e7b1b27d305bf9c6
      https://github.com/WebKit/WebKit/commit/500b32f29f1f3e1e32c7ba69e7b1b27d305bf9c6
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2025-02-10 (Mon, 10 Feb 2025)

  Changed paths:
    M Source/WebKit/UIProcess/WebProcessCache.cpp
    M Source/WebKit/UIProcess/WebProcessCache.h

  Log Message:
  -----------
  Deploy more smart pointers in WebProcessCache.cpp
https://bugs.webkit.org/show_bug.cgi?id=287427

Reviewed by Geoffrey Garen.

Address smart pointer static analyzer warnings in WebProcessCache.cpp.

* Source/WebKit/UIProcess/WebProcessCache.cpp:
(WebKit::WebProcessCache::takeProcess):
(WebKit::WebProcessCache::clearAllProcessesForSession):
(WebKit::WebProcessCache::CachedProcess::CachedProcess):
(WebKit::WebProcessCache::CachedProcess::~CachedProcess):
(WebKit::WebProcessCache::CachedProcess::takeProcess):
(WebKit::WebProcessCache::CachedProcess::evictionTimerFired):
(WebKit::WebProcessCache::CachedProcess::startSuspensionTimer):
(WebKit::WebProcessCache::CachedProcess::suspensionTimerFired):
* Source/WebKit/UIProcess/WebProcessCache.h:

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