[webkit-changes] [WebKit/WebKit] de0840: Fix bugprone-use-after-move warnings in `WebExtens...

Charlie Wolfe noreply at github.com
Wed Mar 13 15:19:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: de084069b1214e2ed8e0616a55613e9fb1250a10
      https://github.com/WebKit/WebKit/commit/de084069b1214e2ed8e0616a55613e9fb1250a10
  Author: Charlie Wolfe <charliew at apple.com>
  Date:   2024-03-13 (Wed, 13 Mar 2024)

  Changed paths:
    M Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm

  Log Message:
  -----------
  Fix bugprone-use-after-move warnings in `WebExtensionContext::loadDeclarativeNetRequestRules`
https://bugs.webkit.org/show_bug.cgi?id=270930
rdar://124554555

Reviewed by Timothy Hatcher.

`completionHandler` was unnecessarily being moved into several lambda captures.

* Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm:
(WebKit::WebExtensionContext::loadDeclarativeNetRequestRules):

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