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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementDescriptorTest.cpp

Issue 2657443005: Migrate WTF::HashSet::add() to ::insert() [part 1 of N] (Closed)
Patch Set: Created 3 years, 11 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
Index: third_party/WebKit/Source/core/dom/custom/CustomElementDescriptorTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementDescriptorTest.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementDescriptorTest.cpp
index c3d3b984a0414259433d8a98c443f15f06dfb7b9..025dfd67bc9f86a80a4a89d895afadae27016029 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementDescriptorTest.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementDescriptorTest.cpp
@@ -30,7 +30,7 @@ TEST(CustomElementDescriptorTest, notEqual) {
TEST(CustomElementDescriptorTest, hashable) {
HashSet<CustomElementDescriptor> descriptors;
- descriptors.add(CustomElementDescriptor("foo-bar", "foo-bar"));
+ descriptors.insert(CustomElementDescriptor("foo-bar", "foo-bar"));
EXPECT_TRUE(
descriptors.contains(CustomElementDescriptor("foo-bar", "foo-bar")))
<< "the identical descriptor should be found in the hash set";

Powered by Google App Engine
This is Rietveld 408576698