Migrate WTF::Vector::remove() to ::erase()

As discussed on platform-architecture-dev [0], there is interest in
normalizing the methods of WTF classes to better align with std classes.

There are no functional changes.

[0] https://groups.google.com/a/chromium.org/d/topic/platform-architecture-dev/I7jnz4p1h84/discussion

BUG=662431
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2776203002
Cr-Original-Commit-Position: refs/heads/master@{#460215}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3e2545eea28039a76b9c056c84fddac3cbc9d7d8
1 file changed
tree: 27dec9e16263b5e93a5e74caf0e4b4bdcbd23b1f
  1. .gitignore
  2. ASCIICType.h
  3. ASCIICTypeTest.cpp
  4. AddressSanitizer.h
  5. Alignment.h
  6. Allocator.h
  7. Allocator.md
  8. Assertions.h
  9. AssertionsTest.cpp
  10. Atomics.h
  11. AutoReset.h
  12. BUILD.gn
  13. BitVector.h
  14. BitwiseOperations.h
  15. BloomFilter.h
  16. ByteOrder.h
  17. ByteSwap.h
  18. CONTRIBUTORS.pthreads-win32
  19. CPU.h
  20. CheckedNumeric.h
  21. Compiler.h
  22. ConditionalDestructor.h
  23. ContainerAnnotations.h
  24. CryptographicallyRandomNumber.h
  25. CurrentTime.h
  26. DEPS
  27. DataLog.h
  28. DateMath.cpp
  29. DateMath.h
  30. Deque.h
  31. DequeTest.cpp
  32. DoublyLinkedList.h
  33. DynamicAnnotations.h
  34. FilePrintStream.cpp
  35. FilePrintStream.h
  36. Forward.h
  37. Functional.h
  38. FunctionalTest.cpp
  39. GetPtr.h
  40. HashCountedSet.h
  41. HashFunctions.h
  42. HashIterators.h
  43. HashMap.h
  44. HashMapTest.cpp
  45. HashSet.h
  46. HashSetTest.cpp
  47. HashTable.h
  48. HashTableDeletedValueType.h
  49. HashTraits.h
  50. HexNumber.h
  51. InstanceCounter.cpp
  52. InstanceCounter.h
  53. LeakAnnotations.h
  54. LinkedHashSet.h
  55. ListHashSet.h
  56. ListHashSetTest.cpp
  57. Locker.h
  58. MathExtras.h
  59. MathExtrasTest.cpp
  60. NonCopyingSort.h
  61. Noncopyable.h
  62. NotFound.h
  63. OWNERS
  64. Optional.h
  65. OptionalTest.cpp
  66. PassRefPtr.h
  67. PassRefPtrTest.cpp
  68. PrintStream.cpp
  69. PrintStream.h
  70. PtrUtil.h
  71. README.md
  72. RefCounted.h
  73. RefPtr.h
  74. RefPtrTest.cpp
  75. RefVector.h
  76. RetainPtr.h
  77. SaturatedArithmetic.h
  78. ScopedLogger.md
  79. SizeAssertions.h
  80. SizeLimits.cpp
  81. SpinLock.h
  82. StackUtil.cpp
  83. StackUtil.h
  84. StaticConstructors.h
  85. StdLibExtras.h
  86. StringExtras.h
  87. StringExtrasTest.cpp
  88. StringHasher.h
  89. StringHasherTest.cpp
  90. TerminatedArray.h
  91. TerminatedArrayBuilder.h
  92. ThreadRestrictionVerifier.h
  93. ThreadSafeRefCounted.h
  94. ThreadSpecific.h
  95. ThreadSpecificWin.cpp
  96. Threading.h
  97. ThreadingPrimitives.h
  98. ThreadingPthreads.cpp
  99. ThreadingWin.cpp
  100. Time.h
  101. TimeTest.cpp
  102. TreeNode.h
  103. TreeNodeTest.cpp
  104. TriState.h
  105. TypeTraits.h
  106. TypeTraitsTest.cpp
  107. UniquePtrTransitionGuide.md
  108. Vector.h
  109. VectorTest.cpp
  110. VectorTraits.h
  111. WTF.cpp
  112. WTF.h
  113. WTFExport.h
  114. WTFThreadData.cpp
  115. WTFThreadData.h
  116. WeakPtr.h
  117. allocator/
  118. build_config.h
  119. debug/
  120. dtoa.h
  121. dtoa/
  122. dtoa_test.cpp
  123. testing/
  124. text/
  125. typed_arrays/
README.md

WTF -- Web Template Framework

The contents in this directory are being moved to platform/wtf. See platform/wtf/README.md for details.