Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Unified Diff: storage/browser/fileapi/sandbox_directory_database.cc

Issue 2855953002: leveldb: Add DBTracker for exposing databases to Chrome's memory-infra. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: storage/browser/fileapi/sandbox_directory_database.cc
diff --git a/storage/browser/fileapi/sandbox_directory_database.cc b/storage/browser/fileapi/sandbox_directory_database.cc
index 91c4914c7f22d22063e00f32fd909a6d4e3a21b3..44774f184dd7bb40e7e0c2ffb4a677a9b31112f0 100644
--- a/storage/browser/fileapi/sandbox_directory_database.cc
+++ b/storage/browser/fileapi/sandbox_directory_database.cc
@@ -747,7 +747,7 @@ bool SandboxDirectoryDatabase::Init(RecoveryOption recovery_option) {
if (env_override_)
options.env = env_override_;
leveldb::DB* db;
- leveldb::Status status = leveldb::DB::Open(options, path, &db);
+ leveldb::Status status = leveldb_env::DBRegistry::Open(options, path, &db);
ReportInitStatus(status);
if (status.ok()) {
db_.reset(db);

Powered by Google App Engine
This is Rietveld 408576698