[webkit-changes] [WebKit/WebKit] be4db2: Address some of the Safer CPP warnings in WKRemote...

Chris Dumez noreply at github.com
Wed Feb 12 12:42:01 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: be4db26277ae5625c5ac485d25a5cadf3e67ce7e
      https://github.com/WebKit/WebKit/commit/be4db26277ae5625c5ac485d25a5cadf3e67ce7e
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

  Changed paths:
    M Source/WebKit/Shared/API/Cocoa/WKRemoteObjectCoder.mm

  Log Message:
  -----------
  Address some of the Safer CPP warnings in WKRemoteObjectCoder.mm
https://bugs.webkit.org/show_bug.cgi?id=287465

Reviewed by Darin Adler.

* Source/WebKit/Shared/API/Cocoa/WKRemoteObjectCoder.mm:
(-[WKRemoteObjectEncoder init]):
(encodeToObjectStream):
(encodeString):
(encodeObject):
(-[WKRemoteObjectEncoder encodeObject:forKey:]):
(-[WKRemoteObjectEncoder encodeBytes:length:forKey:]):
(-[WKRemoteObjectEncoder encodeBool:forKey:]):
(-[WKRemoteObjectEncoder encodeInt:forKey:]):
(-[WKRemoteObjectEncoder encodeInt32:forKey:]):
(-[WKRemoteObjectEncoder encodeInt64:forKey:]):
(-[WKRemoteObjectEncoder encodeFloat:forKey:]):
(-[WKRemoteObjectEncoder encodeDouble:forKey:]):
(-[WKRemoteObjectDecoder initWithInterface:rootObjectDictionary:replyToSelector:]):
(-[WKRemoteObjectDecoder containsValueForKey:]):
(decodeString):
(decodeObject):
(-[WKRemoteObjectDecoder decodeBoolForKey:]):
(-[WKRemoteObjectDecoder decodeIntForKey:]):
(-[WKRemoteObjectDecoder decodeInt32ForKey:]):
(-[WKRemoteObjectDecoder decodeInt64ForKey:]):
(-[WKRemoteObjectDecoder decodeFloatForKey:]):
(-[WKRemoteObjectDecoder decodeDoubleForKey:]):
(-[WKRemoteObjectDecoder decodeBytesForKey:returnedLength:]):
(-[WKRemoteObjectDecoder decodeObjectOfClasses:forKey:]):

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