[webkit-changes] [WebKit/WebKit] d3c216: Use std::span more for KeyedCoding

Chris Dumez noreply at github.com
Sat Mar 23 10:49:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d3c216cd1186dcd7d55e986b0e0f962a04ed6782
      https://github.com/WebKit/WebKit/commit/d3c216cd1186dcd7d55e986b0e0f962a04ed6782
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-03-23 (Sat, 23 Mar 2024)

  Changed paths:
    M Source/WebCore/Modules/indexeddb/IDBKeyData.cpp
    M Source/WebCore/platform/KeyedCoding.h
    M Source/WebCore/platform/cf/KeyedDecoderCF.cpp
    M Source/WebCore/platform/cf/KeyedDecoderCF.h
    M Source/WebCore/platform/cf/KeyedEncoderCF.cpp
    M Source/WebCore/platform/cf/KeyedEncoderCF.h
    M Source/WebCore/platform/generic/KeyedDecoderGeneric.cpp
    M Source/WebCore/platform/generic/KeyedDecoderGeneric.h
    M Source/WebCore/platform/generic/KeyedEncoderGeneric.cpp
    M Source/WebCore/platform/generic/KeyedEncoderGeneric.h
    M Source/WebCore/platform/glib/KeyedDecoderGlib.cpp
    M Source/WebCore/platform/glib/KeyedDecoderGlib.h
    M Source/WebCore/platform/glib/KeyedEncoderGlib.cpp
    M Source/WebCore/platform/glib/KeyedEncoderGlib.h
    M Tools/TestWebKitAPI/Tests/WebCore/KeyedCoding.cpp

  Log Message:
  -----------
  Use std::span more for KeyedCoding
https://bugs.webkit.org/show_bug.cgi?id=271511

Reviewed by Darin Adler.

* Source/WebCore/Modules/indexeddb/IDBKeyData.cpp:
(WebCore::IDBKeyData::encode const):
* Source/WebCore/platform/KeyedCoding.h:
(WebCore::KeyedDecoder::decodeBytes):
* Source/WebCore/platform/cf/KeyedDecoderCF.cpp:
(WebCore::KeyedDecoderCF::decodeBytes):
* Source/WebCore/platform/cf/KeyedDecoderCF.h:
* Source/WebCore/platform/cf/KeyedEncoderCF.cpp:
(WebCore::KeyedEncoderCF::encodeBytes):
* Source/WebCore/platform/cf/KeyedEncoderCF.h:
* Source/WebCore/platform/generic/KeyedDecoderGeneric.cpp:
(WebCore::KeyedDecoderGeneric::decodeBytes):
* Source/WebCore/platform/generic/KeyedDecoderGeneric.h:
* Source/WebCore/platform/generic/KeyedEncoderGeneric.cpp:
(WebCore::KeyedEncoderGeneric::encodeBytes):
* Source/WebCore/platform/generic/KeyedEncoderGeneric.h:
* Source/WebCore/platform/glib/KeyedDecoderGlib.cpp:
(WebCore::KeyedDecoderGlib::decodeBytes):
* Source/WebCore/platform/glib/KeyedDecoderGlib.h:
* Source/WebCore/platform/glib/KeyedEncoderGlib.cpp:
(WebCore::KeyedEncoderGlib::encodeBytes):
* Source/WebCore/platform/glib/KeyedEncoderGlib.h:
* Tools/TestWebKitAPI/Tests/WebCore/KeyedCoding.cpp:
(TestWebKitAPI::checkDecodedBytes):
(TestWebKitAPI::TEST):

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