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

Unified Diff: content/browser/dom_storage/local_storage_context_mojo.cc

Issue 2722293002: Fix lifetime of leveldb::MojoEnv instances. (Closed)
Patch Set: minor cleanups Created 3 years, 9 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/dom_storage/local_storage_context_mojo.cc
diff --git a/content/browser/dom_storage/local_storage_context_mojo.cc b/content/browser/dom_storage/local_storage_context_mojo.cc
index 0469ec7e4db2a14d5507b54d4b6328dd2b7a769b..2d98a275f292a39ee8f7c6b1474a4e33d791bf74 100644
--- a/content/browser/dom_storage/local_storage_context_mojo.cc
+++ b/content/browser/dom_storage/local_storage_context_mojo.cc
@@ -368,7 +368,6 @@ void LocalStorageContextMojo::OnDirectoryOpened(
// Now that we have a directory, connect to the LevelDB service and get our
// database.
file_service_connection_->GetInterface(&leveldb_service_);
- leveldb_service_->SetEnvironmentName("LevelDBEnv.LocalStorage");
// We might still need to use the directory, so create a clone.
filesystem::mojom::DirectoryPtr directory_clone;

Powered by Google App Engine
This is Rietveld 408576698