Bug 1466168: Remove mozilla::Forward in favor of std::forward. r=froydnj
Same approach as the other bug, mostly replacing automatically by removing 'using mozilla::Forward;' and then: s/mozilla::Forward/std::forward/ s/Forward</std::forward</ The only file that required manual fixup was TestTreeTraversal.cpp, which had a class called TestNodeForward with template parameters :) MozReview-Commit-ID: A88qFG5AccP
This commit is contained in:
@@ -4855,7 +4855,7 @@ HTMLMediaElement::SetupDecoder(DecoderType* aDecoder, LoadArgs&&... aArgs)
|
||||
aDecoder,
|
||||
aDecoder->ContainerType().OriginalString().Data()));
|
||||
|
||||
nsresult rv = aDecoder->Load(Forward<LoadArgs>(aArgs)...);
|
||||
nsresult rv = aDecoder->Load(std::forward<LoadArgs>(aArgs)...);
|
||||
if (NS_FAILED(rv)) {
|
||||
aDecoder->Shutdown();
|
||||
LOG(LogLevel::Debug, ("%p Failed to load for decoder %p", this, aDecoder));
|
||||
|
||||
Reference in New Issue
Block a user