| Index: base/memory/ref_counted_memory_unittest.cc
|
| diff --git a/base/memory/ref_counted_memory_unittest.cc b/base/memory/ref_counted_memory_unittest.cc
|
| index b19c7a745eaeb9e843d6c1decab84e4c91291941..bd2ed01f54bc226ae6dbf594b2aae868498d326f 100644
|
| --- a/base/memory/ref_counted_memory_unittest.cc
|
| +++ b/base/memory/ref_counted_memory_unittest.cc
|
| @@ -52,16 +52,6 @@ TEST(RefCountedMemoryUnitTest, RefCountedString) {
|
| EXPECT_EQ('e', mem->front()[1]);
|
| }
|
|
|
| -TEST(RefCountedMemoryUnitTest, RefCountedMallocedMemory) {
|
| - void* data = malloc(6);
|
| - memcpy(data, "hello", 6);
|
| -
|
| - scoped_refptr<RefCountedMemory> mem = new RefCountedMallocedMemory(data, 6);
|
| -
|
| - EXPECT_EQ(6U, mem->size());
|
| - EXPECT_EQ(0, memcmp("hello", mem->front(), 6));
|
| -}
|
| -
|
| TEST(RefCountedMemoryUnitTest, Equals) {
|
| std::string s1("same");
|
| scoped_refptr<RefCountedMemory> mem1 = RefCountedString::TakeString(&s1);
|
|
|