Bug 1185763 - Part 1: Always use mozilla::Move with nsTArray::MoveElementsFrom. r=froydnj

This commit is contained in:
Birunthan Mohanathas
2015-08-11 08:29:46 -07:00
parent 8c469ae2df
commit 065661bf47
15 changed files with 26 additions and 22 deletions

View File

@@ -790,7 +790,7 @@ nsHtml5TreeOpExecutor::MoveOpsFrom(nsTArray<nsHtml5TreeOperation>& aOpQueue)
mOpQueue.SwapElements(aOpQueue);
return;
}
mOpQueue.MoveElementsFrom(aOpQueue);
mOpQueue.MoveElementsFrom(Move(aOpQueue));
}
void