Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8e9cd8114229720023ef53617e8c49335c13ae8c
https://github.com/WebKit/WebKit/commit/8e9cd8114229720023ef53617e8c49335c13ae8c
Author: Ahmad Saleem <[email protected]>
Date: 2026-07-12 (Sun, 12 Jul 2026)
Changed paths:
M Source/WebCore/rendering/RenderMedia.cpp
Log Message:
-----------
Avoid repeated protect(mediaElement()) in RenderMedia::styleDidChange
https://bugs.webkit.org/show_bug.cgi?id=319183
rdar://182031085
Reviewed by Eric Carlson.
RenderMedia::styleDidChange() called protect(mediaElement()) up to three
times, each ref-counting the same element. Hoist a single Ref instead.
* Source/WebCore/rendering/RenderMedia.cpp:
(WebCore::RenderMedia::styleDidChange):
Canonical link: https://commits.webkit.org/316997@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications