Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(928)

Unified Diff: mojo/public/cpp/bindings/tests/wtf_map_unittest.cc

Issue 2759703002: Migrate WTF::HashMap::remove() to ::erase() (Closed)
Patch Set: rebase, fix one platform-specific reference Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/tests/wtf_map_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/wtf_map_unittest.cc b/mojo/public/cpp/bindings/tests/wtf_map_unittest.cc
index 5028087fedc7c3e855c2b552306d2e383b4c7f2c..dc40143168f62646fb14a1fac3d36a810c2a39b3 100644
--- a/mojo/public/cpp/bindings/tests/wtf_map_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/wtf_map_unittest.cc
@@ -19,7 +19,7 @@ TEST(WTFMapTest, StructKey) {
ASSERT_NE(map.end(), map.find(key));
ASSERT_EQ(123, map.find(key)->value);
- map.remove(key);
+ map.erase(key);
ASSERT_EQ(0u, map.size());
}
@@ -32,7 +32,7 @@ TEST(WTFMapTest, TypemappedStructKey) {
ASSERT_NE(map.end(), map.find(key));
ASSERT_EQ(123, map.find(key)->value);
- map.remove(key);
+ map.erase(key);
ASSERT_EQ(0u, map.size());
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698