Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e2571821015961c94270a41c57e4fdae16d93c2e
      
https://github.com/WebKit/WebKit/commit/e2571821015961c94270a41c57e4fdae16d93c2e
  Author: Chris Dumez <[email protected]>
  Date:   2026-04-04 (Sat, 04 Apr 2026)

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

  Log Message:
  -----------
  FontCascade copy constructor should copy cached m_enableKerning and 
m_requiresShaping instead of recomputing them
https://bugs.webkit.org/show_bug.cgi?id=311475

Reviewed by Vitor Roriz and Alan Baradlay.

The copy constructor was calling computeEnableKerning() and 
computeRequiresShaping()
even though m_fontDescription is copied from the source object, so the result is
identical. The assignment operator already copies these values directly.

* Source/WebCore/platform/graphics/FontCascade.cpp:
(WebCore::FontCascade::FontCascade):

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



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

Reply via email to