Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c4c1c442a79e5557a00ecf8197b157e5f11b6fd9
https://github.com/WebKit/WebKit/commit/c4c1c442a79e5557a00ecf8197b157e5f11b6fd9
Author: Anne van Kesteren <[email protected]>
Date: 2024-11-21 (Thu, 21 Nov 2024)
Changed paths:
M Source/WebCore/page/Quirks.cpp
M Source/WebCore/page/QuirksData.h
Log Message:
-----------
Remove redundant caching in Quirks
https://bugs.webkit.org/show_bug.cgi?id=283490
rdar://140347382
Reviewed by Wenson Hsieh.
Methods like isYouTube() already implement their own caching on top of
QuirksData. There's no need to cache its results again one level up.
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::needsSeekingSupportDisabled const):
(WebCore::Quirks::hasBrokenEncryptedMediaAPISupportQuirk const):
(WebCore::Quirks::shouldDispatchedSimulatedMouseEventsAssumeDefaultPrevented
const):
(WebCore::Quirks::needsScrollbarWidthThinDisabledQuirk const):
(WebCore::Quirks::needsGoogleMapsScrollingQuirk const):
(WebCore::Quirks::shouldSilenceResizeObservers const):
(WebCore::Quirks::needsPreloadAutoQuirk const):
(WebCore::Quirks::blocksReturnToFullscreenFromPictureInPictureQuirk const):
(WebCore::Quirks::blocksEnteringStandardFullscreenFromPictureInPictureQuirk
const):
(WebCore::Quirks::shouldDisableEndFullscreenEventWhenEnteringPictureInPictureFromFullscreenQuirk
const):
(WebCore::Quirks::allowLayeredFullscreenVideos const):
* Source/WebCore/page/QuirksData.h:
Canonical link: https://commits.webkit.org/286917@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