| Index: content/browser/notifications/notification_database.cc
|
| diff --git a/content/browser/notifications/notification_database.cc b/content/browser/notifications/notification_database.cc
|
| index 677a3270ef1a005c491f5768f0856ed3ef3fbe5a..9b00a53ecfdfa8eb638eadd759a11d79b16584c8 100644
|
| --- a/content/browser/notifications/notification_database.cc
|
| +++ b/content/browser/notifications/notification_database.cc
|
| @@ -132,14 +132,12 @@ NotificationDatabase::Status NotificationDatabase::Open(
|
| options.env = env_.get();
|
| }
|
|
|
| - leveldb::DB* db = nullptr;
|
| Status status = LevelDBStatusToStatus(
|
| - leveldb::DB::Open(options, path_.AsUTF8Unsafe(), &db));
|
| + leveldb_env::OpenDB(options, path_.AsUTF8Unsafe(), &db_));
|
| if (status != STATUS_OK)
|
| return status;
|
|
|
| state_ = STATE_INITIALIZED;
|
| - db_.reset(db);
|
|
|
| return ReadNextPersistentNotificationId();
|
| }
|
|
|