Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
This was done automatically replacing: s/mozilla::Move/std::move/ s/ Move(/ std::move(/ s/(Move(/(std::move(/ Removing the 'using mozilla::Move;' lines. And then with a few manual fixups, see the bug for the split series.. MozReview-Commit-ID: Jxze3adipUh
This commit is contained in:
@@ -2441,7 +2441,7 @@ XMLHttpRequestMainThread::InitiateFetch(already_AddRefed<nsIInputStream> aUpload
|
||||
nsACString& aUploadContentType)
|
||||
{
|
||||
nsresult rv;
|
||||
nsCOMPtr<nsIInputStream> uploadStream = Move(aUploadStream);
|
||||
nsCOMPtr<nsIInputStream> uploadStream = std::move(aUploadStream);
|
||||
|
||||
// nsIRequest::LOAD_BACKGROUND prevents throbber from becoming active, which
|
||||
// in turn keeps STOP button from becoming active. If the consumer passed in
|
||||
@@ -3053,10 +3053,10 @@ XMLHttpRequestMainThread::DispatchToMainThread(already_AddRefed<nsIRunnable> aRu
|
||||
nsCOMPtr<nsIEventTarget> target = global->EventTargetFor(TaskCategory::Other);
|
||||
MOZ_ASSERT(target);
|
||||
|
||||
return target->Dispatch(Move(aRunnable), NS_DISPATCH_NORMAL);
|
||||
return target->Dispatch(std::move(aRunnable), NS_DISPATCH_NORMAL);
|
||||
}
|
||||
|
||||
return NS_DispatchToMainThread(Move(aRunnable));
|
||||
return NS_DispatchToMainThread(std::move(aRunnable));
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user