| Index: content/browser/notifications/notification_database.cc
|
| diff --git a/content/browser/notifications/notification_database.cc b/content/browser/notifications/notification_database.cc
|
| index 4d9f42e0e50f91c84466b0bd303e7fc1e5de6def..3b4ba9fc5e3bdcced1bc1f27903b082fba453636 100644
|
| --- a/content/browser/notifications/notification_database.cc
|
| +++ b/content/browser/notifications/notification_database.cc
|
| @@ -301,7 +301,8 @@ NotificationDatabase::ReadAllNotificationDataInternal(
|
| leveldb::Slice prefix_slice(prefix);
|
|
|
| NotificationDatabaseData notification_database_data;
|
| - scoped_ptr<leveldb::Iterator> iter(db_->NewIterator(leveldb::ReadOptions()));
|
| + std::unique_ptr<leveldb::Iterator> iter(
|
| + db_->NewIterator(leveldb::ReadOptions()));
|
| for (iter->Seek(prefix_slice); iter->Valid(); iter->Next()) {
|
| if (!iter->key().starts_with(prefix_slice))
|
| break;
|
| @@ -338,7 +339,8 @@ NotificationDatabase::DeleteAllNotificationDataInternal(
|
| leveldb::WriteBatch batch;
|
|
|
| NotificationDatabaseData notification_database_data;
|
| - scoped_ptr<leveldb::Iterator> iter(db_->NewIterator(leveldb::ReadOptions()));
|
| + std::unique_ptr<leveldb::Iterator> iter(
|
| + db_->NewIterator(leveldb::ReadOptions()));
|
| for (iter->Seek(prefix_slice); iter->Valid(); iter->Next()) {
|
| if (!iter->key().starts_with(prefix_slice))
|
| break;
|
|
|