[webkit-changes] [WebKit/WebKit] 76cc35: Remove Base64EncodePolicy

Anne van Kesteren noreply at github.com
Fri Apr 14 13:54:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 76cc35217b8618b6c07fd31e05e07c0e6ea61339
      https://github.com/WebKit/WebKit/commit/76cc35217b8618b6c07fd31e05e07c0e6ea61339
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2023-04-14 (Fri, 14 Apr 2023)

  Changed paths:
    M Source/WTF/wtf/text/Base64.cpp
    M Source/WTF/wtf/text/Base64.h

  Log Message:
  -----------
  Remove Base64EncodePolicy
https://bugs.webkit.org/show_bug.cgi?id=255412
rdar://108010162

Reviewed by Myles C. Maxfield and Alex Christensen.

Everything Base64EncodePolicy is used for can be done by Base64EncodeMap.

Also make some nearby enums use bool as underlying type.

* Source/WTF/wtf/text/Base64.cpp:
(WTF::base64EncodeInternal):
* Source/WTF/wtf/text/Base64.h:
(WTF::calculateBase64EncodedSize):

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




More information about the webkit-changes mailing list