Migrate WTF::HashMap::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.linux:linux_layout_tests_slimming_paint_v2
TBR=sky@chromium.org

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

WTF -- Web Template Framework

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