[webkit-changes] [WebKit/WebKit] 315cbc: s_maxSize should be 'unsigned' rather than 'int' i...

Ahmad Saleem noreply at github.com
Sun Mar 5 20:06:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 315cbcb6456867e1bbad1a1031124d931b8b2914
      https://github.com/WebKit/WebKit/commit/315cbcb6456867e1bbad1a1031124d931b8b2914
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2023-03-05 (Sun, 05 Mar 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/WidthCache.h

  Log Message:
  -----------
  s_maxSize should be 'unsigned' rather than 'int' in WidthCache.h

https://bugs.webkit.org/show_bug.cgi?id=253272

Reviewed by Myles C. Maxfield.

This patch is modifying 's_maxSize' to 'unsigned' from 'int' since other uses of
s_maxSize are comparison with other unsigned types.
Also update it to 'constexpr' from 'const'.

* Source/WebCore/platform/graphics/WidthCache.h:

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




More information about the webkit-changes mailing list