Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3725d306de716bf0f41323728a7d1a5d8879ef72
      
https://github.com/WebKit/WebKit/commit/3725d306de716bf0f41323728a7d1a5d8879ef72
  Author: Alex Christensen <achristen...@apple.com>
  Date:   2025-03-27 (Thu, 27 Mar 2025)

  Changed paths:
    M Source/WebKit/Platform/IPC/Decoder.h
    M Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.h
    M Source/WebKit/Shared/Cocoa/CoreIPCNSCFObject.mm

  Log Message:
  -----------
  Remove IPC::Decoder.m_allowedClasses on new platforms
https://bugs.webkit.org/show_bug.cgi?id=290493
rdar://147976480

Reviewed by Brady Eidson.

m_allowedClasses was used to verify the types decoded when we decoded
an id<NSSecureCoding>, but that is only used on platforms that don't
have WK_SECURE_CODING_NSURLREQUEST.  On new platforms we can remove the
member variable and save memory.

* Source/WebKit/Platform/IPC/Decoder.h:
(IPC::Decoder::decodeWithAllowedClasses):
* Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.h:
(IPC::decodeRequiringAllowedClasses):
* Source/WebKit/Shared/Cocoa/CoreIPCNSCFObject.mm:
(WebKit::CoreIPCNSCFObject::valueIsAllowed):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to