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:
Emilio Cobos Álvarez
2018-05-30 21:15:35 +02:00
parent 97b78e0aeb
commit 4b8b5e1717
1055 changed files with 3758 additions and 3810 deletions

View File

@@ -107,7 +107,7 @@ class JavaScriptBase : public WrapperOwner, public WrapperAnswer, public Base
mozilla::ipc::IPCResult RecvCallOrConstruct(const uint64_t& objId, InfallibleTArray<JSParam>&& argv,
const bool& construct, ReturnStatus* rs, JSVariant* result,
nsTArray<JSParam>* outparams) override {
if (!Answer::RecvCallOrConstruct(ObjectId::deserialize(objId), Move(argv), construct, rs, result, outparams)) {
if (!Answer::RecvCallOrConstruct(ObjectId::deserialize(objId), std::move(argv), construct, rs, result, outparams)) {
return IPC_FAIL_NO_REASON(this);
}
return IPC_OK();