Bug 1611415 - Applied FixItHints from mozilla-non-std-move. r=froydnj

Differential Revision: https://phabricator.services.mozilla.com/D60980
This commit is contained in:
Simon Giesecke
2020-02-12 17:24:41 +00:00
parent c0061314b6
commit d45525793f
251 changed files with 506 additions and 494 deletions

View File

@@ -3050,7 +3050,7 @@ MediaResult HTMLMediaElement::LoadResource() {
RefPtr<ChannelLoader> loader = new ChannelLoader;
nsresult rv = loader->Load(this);
if (NS_SUCCEEDED(rv)) {
mChannelLoader = loader.forget();
mChannelLoader = std::move(loader);
}
return MediaResult(rv, "Failed to load channel");
}