Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 19f91095f6a5d01e82ed9d2f611725f9a3e0281c
      
https://github.com/WebKit/WebKit/commit/19f91095f6a5d01e82ed9d2f611725f9a3e0281c
  Author: Jessica Lee <[email protected]>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M Source/WebCore/style/StyleSubstitutionResolver.cpp
    M Source/WebCore/style/values/images/kinds/StyleFilterImage.cpp
    M Source/WebCore/workers/service/background-fetch/BackgroundFetchEngine.cpp

  Log Message:
  -----------
  Remove extraneous smart pointer get() calls from StyleSubstitutionResolver, 
StyleFilterImage, BackgroundFetchEngine
https://bugs.webkit.org/show_bug.cgi?id=316834
rdar://179277003

Reviewed by Anne van Kesteren.

The smart pointer implicitly converts to the raw resource at the call site so 
these
get() calls are extraneous. Let's cleans up call sites in 
StyleSubstitutionResolver.cpp,
StyleFilterImage.cpp, and BackgroundFetchEngine.cpp.

No new tests needed.

* Source/WebCore/style/StyleSubstitutionResolver.cpp:
(WebCore::Style::SubstitutionResolver::resolveAndRegisterDashedFunctionArguments):
(WebCore::Style::SubstitutionResolver::substituteDashedFunction):
* Source/WebCore/style/values/images/kinds/StyleFilterImage.cpp:
(WebCore::Style::FilterImage::image const):
* Source/WebCore/workers/service/background-fetch/BackgroundFetchEngine.cpp:
(WebCore::BackgroundFetchEngine::retrieveRecordResponse):
(WebCore::BackgroundFetchEngine::retrieveRecordResponseBody):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to