Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5d41fd340999e052914712ba2024733515e38fe3
      
https://github.com/WebKit/WebKit/commit/5d41fd340999e052914712ba2024733515e38fe3
  Author: Antti Koivisto <[email protected]>
  Date:   2026-10-12 (Mon, 12 Oct 2026)

  Changed paths:
    M Source/WebCore/rendering/GlyphDisplayListCache.cpp
    M Source/WebCore/rendering/GlyphDisplayListCache.h
    M Source/WebCore/rendering/TextPainter.cpp
    M Source/WebCore/rendering/TextPainter.h

  Log Message:
  -----------
  [IFC] De-templatize glyph display list cache accessors
https://bugs.webkit.org/show_bug.cgi?id=327132
rdar://problem/189734714

Reviewed by Alan Baradlay.

GlyphDisplayListCache and TextPainter had templates over the layout run type. 
InlineDisplay::Box is the only one left.

* Source/WebCore/rendering/GlyphDisplayListCache.cpp:
(WebCore::GlyphDisplayListCache::get):
(WebCore::GlyphDisplayListCache::getIfExists):
(WebCore::GlyphDisplayListCache::getDisplayList): Deleted.
(WebCore::GlyphDisplayListCache::getIfExistsImpl): Deleted.
* Source/WebCore/rendering/GlyphDisplayListCache.h:
(WebCore::GlyphDisplayListCache::remove):
* Source/WebCore/rendering/TextPainter.cpp:
(WebCore::TextPainter::setGlyphDisplayListIfNeeded):
(WebCore::TextPainter::cachedGlyphDisplayListsForTextNodeAsText):
* Source/WebCore/rendering/TextPainter.h:
(WebCore::TextPainter::glyphDisplayListIfExists): Deleted.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to