Commit 3218649
[MSE] Use detach method for HTMLMediaElement::m_mediasource
https://bugs.webkit.org/show_bug.cgi?id=243796
<rdar://98471033>
Reviewed by Eric Carlson.
We should be using the `detachMediaSource` method in `setSrcObject` in
order to be consistent with the rest of the `HTMLMediaElement` implementation.
* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::setSrcObject):
Canonical link: https://commits.webkit.org/253314@main1 parent 78df714 commit 3218649
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1122 | 1122 | | |
1123 | 1123 | | |
1124 | 1124 | | |
1125 | | - | |
| 1125 | + | |
1126 | 1126 | | |
1127 | 1127 | | |
1128 | 1128 | | |
| |||
0 commit comments