| Index: content/browser/notifications/notification_database.cc
|
| diff --git a/content/browser/notifications/notification_database.cc b/content/browser/notifications/notification_database.cc
|
| index 25350b952222dfef5cd58b34179bf6aa1bc2759d..f8619daad0a7561af117817e2a72de22e43e79fb 100644
|
| --- a/content/browser/notifications/notification_database.cc
|
| +++ b/content/browser/notifications/notification_database.cc
|
| @@ -14,6 +14,7 @@
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/notification_database_data.h"
|
| #include "storage/common/database/database_identifier.h"
|
| +#include "third_party/leveldatabase/env_chromium.h"
|
| #include "third_party/leveldatabase/src/helpers/memenv/memenv.h"
|
| #include "third_party/leveldatabase/src/include/leveldb/db.h"
|
| #include "third_party/leveldatabase/src/include/leveldb/env.h"
|
| @@ -114,6 +115,7 @@ NotificationDatabase::Status NotificationDatabase::Open(
|
| leveldb::Options options;
|
| options.create_if_missing = create_if_missing;
|
| options.paranoid_checks = true;
|
| + options.reuse_logs = leveldb_env::kDefaultLogReuseOptionValue;
|
| if (IsInMemoryDatabase()) {
|
| env_.reset(leveldb::NewMemEnv(leveldb::Env::Default()));
|
| options.env = env_.get();
|
|
|