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

Unified Diff: content/browser/notifications/notification_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: content/browser/notifications/notification_database.cc
diff --git a/content/browser/notifications/notification_database.cc b/content/browser/notifications/notification_database.cc
index 192368204773d8b8825a8e133649c52473c786f3..062b1173ee22e9e391cda33fbab8ba4d875371f1 100644
--- a/content/browser/notifications/notification_database.cc
+++ b/content/browser/notifications/notification_database.cc
@@ -134,7 +134,7 @@ NotificationDatabase::Status NotificationDatabase::Open(
leveldb::DB* db = nullptr;
Status status = LevelDBStatusToStatus(
- leveldb::DB::Open(options, path_.AsUTF8Unsafe(), &db));
+ leveldb_env::DBRegistry::Open(options, path_.AsUTF8Unsafe(), &db));
if (status != STATUS_OK)
return status;

Powered by Google App Engine
This is Rietveld 408576698