[webkit-changes] [WebKit/WebKit] ee2c34: WidthCache::SingleCharMap doesn't need to use 32 b...

Chris Dumez noreply at github.com
Tue Oct 3 20:21:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ee2c3461bc42fdfd604810c608250a996c613ffe
      https://github.com/WebKit/WebKit/commit/ee2c3461bc42fdfd604810c608250a996c613ffe
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

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

  Log Message:
  -----------
  WidthCache::SingleCharMap doesn't need to use 32 bits to store the key character
https://bugs.webkit.org/show_bug.cgi?id=262587

Reviewed by Alan Baradlay.

WidthCache::SingleCharMap doesn't need to use 32 bits to store the key character.
It is a UChar, which is guaranteed to be 16 bit.

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

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




More information about the webkit-changes mailing list