| Index: third_party/WebKit/Source/wtf/HashMapTest.cpp
|
| diff --git a/third_party/WebKit/Source/wtf/HashMapTest.cpp b/third_party/WebKit/Source/wtf/HashMapTest.cpp
|
| index 8437fbf3c60668867047b41c1ab62dfe6f0cc191..2d47cd8ee860131c105129de99526366cf7c7a71 100644
|
| --- a/third_party/WebKit/Source/wtf/HashMapTest.cpp
|
| +++ b/third_party/WebKit/Source/wtf/HashMapTest.cpp
|
| @@ -249,7 +249,7 @@ TEST(HashMapTest, AddResult) {
|
| result.storedValue->value = wrapUnique(simple1);
|
| EXPECT_EQ(simple1, map.get(1));
|
|
|
| - IntSimpleMap::AddResult result2 = map.add(1, wrapUnique(new SimpleClass(2)));
|
| + IntSimpleMap::AddResult result2 = map.add(1, makeUnique<SimpleClass>(2));
|
| EXPECT_FALSE(result2.isNewEntry);
|
| EXPECT_EQ(1, result.storedValue->key);
|
| EXPECT_EQ(1, result.storedValue->value->v());
|
|
|