[webkit-changes] [WebKit/WebKit] bdf217: Rename Decimal::ceiling() to Decimal::ceil()

Anne van Kesteren noreply at github.com
Mon May 22 08:22:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bdf217f5a3d31b7dbfe6e85c8b41fd946c295c51
      https://github.com/WebKit/WebKit/commit/bdf217f5a3d31b7dbfe6e85c8b41fd946c295c51
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2023-05-22 (Mon, 22 May 2023)

  Changed paths:
    M Source/WebCore/html/InputType.cpp
    M Source/WebCore/platform/Decimal.cpp
    M Source/WebCore/platform/Decimal.h

  Log Message:
  -----------
  Rename Decimal::ceiling() to Decimal::ceil()
https://bugs.webkit.org/show_bug.cgi?id=78032
rdar://109645652

Reviewed by Darin Adler.

Per Darin the underlying problem was fixed in macOS Snow Leopard
(rdar://problem/6286405) which is now well over a decade old.

wtf_ceil itself was cleaned up in 2015 in 8fadbd7385e0.

* Source/WebCore/html/InputType.cpp:
(WebCore::InputType::applyStep):
(WebCore::InputType::stepUpFromRenderer):
* Source/WebCore/platform/Decimal.cpp:
(WebCore::Decimal::ceil const):
(WebCore::Decimal::remainder const):
(WebCore::Decimal::ceiling const): Deleted.
* Source/WebCore/platform/Decimal.h:

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




More information about the webkit-changes mailing list