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

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

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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/dom_storage_database.cc
diff --git a/content/browser/dom_storage/dom_storage_database.cc b/content/browser/dom_storage/dom_storage_database.cc
index 5b1b5bd63c3d0d21a1fab3aa4df0471647d98d96..d11aad76540c65aa77527f1bf741c172943aa7ad 100644
--- a/content/browser/dom_storage/dom_storage_database.cc
+++ b/content/browser/dom_storage/dom_storage_database.cc
@@ -158,9 +158,8 @@ bool DOMStorageDatabase::LazyOpen(bool create_if_needed) {
db_.reset(new sql::Connection());
db_->set_histogram_tag("DOMStorageDatabase");
- // TODO(shess): The current mitigation for http://crbug.com/537742 stores
- // state in the meta table, which this database does not use.
- db_->set_mmap_disabled();
+ // This db does not use [meta] table, store mmap status data elsewhere.
+ db_->set_mmap_alt_status();
if (file_path_.empty()) {
// This code path should only be triggered by unit tests.
« no previous file with comments | « content/browser/devtools/protocol/page_handler.cc ('k') | content/browser/download/download_item_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698