Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5e9ecf10680f2f3d1b50789c7e58c72b71af0467
      
https://github.com/WebKit/WebKit/commit/5e9ecf10680f2f3d1b50789c7e58c72b71af0467
  Author: Antti Koivisto <[email protected]>
  Date:   2025-04-02 (Wed, 02 Apr 2025)

  Changed paths:
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    A Source/WebCore/style/MatchResultCache.cpp
    A Source/WebCore/style/MatchResultCache.h
    M Source/WebCore/style/StyleScope.cpp
    M Source/WebCore/style/StyleScope.h
    M Source/WebCore/style/StyleTreeResolver.cpp

  Log Message:
  -----------
  Factor match result cache into a class
https://bugs.webkit.org/show_bug.cgi?id=290908
rdar://148418249

Reviewed by Alan Baradlay.

Move out from Style::Scope.

* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/style/MatchResultCache.cpp: Added.
(WebCore::Style::MatchResultCache::get):
(WebCore::Style::MatchResultCache::update):
* Source/WebCore/style/MatchResultCache.h: Added.
* Source/WebCore/style/StyleScope.cpp:
(WebCore::Style::Scope::releaseMemory):
(WebCore::Style::Scope::scheduleUpdate):
(WebCore::Style::Scope::matchResultCache):
(WebCore::Style::Scope::cachedMatchResult): Deleted.
(WebCore::Style::Scope::updateCachedMatchResult): Deleted.
* Source/WebCore/style/StyleScope.h:
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::styleForStyleable):

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



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

Reply via email to