Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6736a4f2ca1ccc8a322e62f147c2556332548c55
      
https://github.com/WebKit/WebKit/commit/6736a4f2ca1ccc8a322e62f147c2556332548c55
  Author: Brent Fulgham <bfulg...@apple.com>
  Date:   2025-08-07 (Thu, 07 Aug 2025)

  Changed paths:
    M Source/WebCore/rendering/svg/SVGTextLayoutAttributesBuilder.cpp

  Log Message:
  -----------
  Use HashMap::ensure in SVGTextLayoutAttributesBuilder
https://bugs.webkit.org/show_bug.cgi?id=278292
<rdar://problem/134186468>

Reviewed by Sammy Gill.

Inspired by: 
https://chromium.googlesource.com/chromium/src.git/+/0f6c84977fee3a56a328e9baa1134b668a316569

This patch revives some work Ahmad Saleem started in 2024, and we sort of 
abandoned.
* Removes some redundancies and eliminates double-hashing.
* Do the update of default values last.

* Source/WebCore/rendering/svg/SVGTextLayoutAttributesBuilder.cpp:
(WebCore::SVGTextLayoutAttributesBuilder::buildCharacterDataMap):
(WebCore::SVGTextLayoutAttributesBuilder::fillCharacterDataMap):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to