Index: net/ssl/default_channel_id_store_unittest.cc |
diff --git a/net/ssl/default_channel_id_store_unittest.cc b/net/ssl/default_channel_id_store_unittest.cc |
index fce807f0f6c3c5c9a673641c9e25f792ceb9cabc..639e0acd52826a567195b836ecf922f2b92d2331 100644 |
--- a/net/ssl/default_channel_id_store_unittest.cc |
+++ b/net/ssl/default_channel_id_store_unittest.cc |
@@ -87,13 +87,14 @@ class MockPersistentStore |
MockPersistentStore::MockPersistentStore() {} |
void MockPersistentStore::Load(const LoadedCallback& loaded_callback) { |
- scoped_ptr<ScopedVector<DefaultChannelIDStore::ChannelID> > |
- channel_ids(new ScopedVector<DefaultChannelIDStore::ChannelID>()); |
+ scoped_ptr<std::vector<scoped_ptr<DefaultChannelIDStore::ChannelID>>> |
+ channel_ids( |
+ new std::vector<scoped_ptr<DefaultChannelIDStore::ChannelID>>()); |
ChannelIDMap::iterator it; |
for (it = channel_ids_.begin(); it != channel_ids_.end(); ++it) { |
channel_ids->push_back( |
- new DefaultChannelIDStore::ChannelID(it->second)); |
+ make_scoped_ptr(new DefaultChannelIDStore::ChannelID(it->second))); |
} |
base::ThreadTaskRunnerHandle::Get()->PostTask( |