Bug 1733109 - 'auto decoder' can be declared as 'auto *decoder' in HTMLMediaElement.cpp. r=alwu
Depends on D126940 Differential Revision: https://phabricator.services.mozilla.com/D126941
This commit is contained in:
@@ -4068,7 +4068,7 @@ HTMLMediaElement* HTMLMediaElement::LookupMediaElementURITable(nsIURI* aURI) {
|
||||
equal && elem->mCORSMode == mCORSMode) {
|
||||
// See SetupDecoder() below. We only add a element to the table when
|
||||
// mDecoder is a ChannelMediaDecoder.
|
||||
auto decoder = static_cast<ChannelMediaDecoder*>(elem->mDecoder.get());
|
||||
auto* decoder = static_cast<ChannelMediaDecoder*>(elem->mDecoder.get());
|
||||
NS_ASSERTION(decoder, "Decoder gone");
|
||||
if (decoder->CanClone()) {
|
||||
return elem;
|
||||
|
||||
Reference in New Issue
Block a user