[webkit-changes] [WebKit/WebKit] fb1c6b: Adopt more smart pointers in FontCascade.cpp

Chris Dumez noreply at github.com
Wed Jan 24 12:57:40 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fb1c6b29a3a4d6ad23aadf78dd5626651621cb31
      https://github.com/WebKit/WebKit/commit/fb1c6b29a3a4d6ad23aadf78dd5626651621cb31
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-01-24 (Wed, 24 Jan 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/FontCascade.cpp
    M Source/WebCore/platform/graphics/FontCascade.h

  Log Message:
  -----------
  Adopt more smart pointers in FontCascade.cpp
https://bugs.webkit.org/show_bug.cgi?id=268008

Reviewed by Brent Fulgham.

* Source/WebCore/platform/graphics/FontCascade.cpp:
(WebCore::FontCascade::width const):
(WebCore::FontCascade::widthForSimpleText const):
(WebCore::FontCascade::widthForSimpleTextWithFixedPitch const):
(WebCore::FontCascade::glyphDataForCharacter const):
(WebCore::FontCascade::isLoadingCustomFonts const):
(WebCore::FontCascade::emphasisMarkHeight const):
(WebCore::FontCascade::floatEmphasisMarkHeight const):
(WebCore::FontCascade::drawGlyphBuffer const):
(WebCore::GlyphToPathTranslator::GlyphToPathTranslator):
(WebCore::GlyphToPathTranslator::containsMorePaths):
(WebCore::GlyphToPathTranslator::path):
(WebCore::GlyphToPathTranslator::extents):
(WebCore::GlyphToPathTranslator::advance):
(WebCore::FontCascade::protectedFonts const):
* Source/WebCore/platform/graphics/FontCascade.h:
(WebCore::FontCascade::primaryFont const):
(WebCore::FontCascade::fallbackRangesAt const):
(WebCore::FontCascade::isFixedPitch const):
(WebCore::FontCascade::canTakeFixedPitchFastContentMeasuring const):
(WebCore::FontCascade::fontSelector const):

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




More information about the webkit-changes mailing list