Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c0c5452af3cf789d198db7428b91b7a429545537
https://github.com/WebKit/WebKit/commit/c0c5452af3cf789d198db7428b91b7a429545537
Author: Ruthvik Konda <[email protected]>
Date: 2026-05-29 (Fri, 29 May 2026)
Changed paths:
M Source/WebCore/Modules/model-element/HTMLModelElement.cpp
Log Message:
-----------
[cleanup] Use [] instead of [&] for empty-body lambdas in HTMLModelElement
https://bugs.webkit.org/show_bug.cgi?id=315810
rdar://178195769
Reviewed by Mike Wyrzykowski.
Three lambdas in HTMLModelElement.cpp use [&] as their capture-default
despite having empty bodies, so nothing is actually captured.
* Source/WebCore/Modules/model-element/HTMLModelElement.cpp:
(WebCore::HTMLModelElement::createModelPlayer):
(WebCore::HTMLModelElement::setPlaybackRate):
(WebCore::HTMLModelElement::setCurrentTime):
Canonical link: https://commits.webkit.org/314123@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications