| Index: content/browser/indexed_db/leveldb/leveldb_database.cc
|
| diff --git a/content/browser/indexed_db/leveldb/leveldb_database.cc b/content/browser/indexed_db/leveldb/leveldb_database.cc
|
| index 7780336f8275fe248eac682bef4de71c264444dc..c5e7b2d00c3abb62ba0d643152f26950c095cd31 100644
|
| --- a/content/browser/indexed_db/leveldb/leveldb_database.cc
|
| +++ b/content/browser/indexed_db/leveldb/leveldb_database.cc
|
| @@ -34,14 +34,16 @@ namespace content {
|
| // data hit disk, but drastically impacts throughput when the filesystem is
|
| // busy with background compactions. Not syncing trades off reliability for
|
| // performance. Note that background compactions which move data from the
|
| -// log to SSTs are still done with reliable writes.
|
| +// log to SSTs are always done with reliable writes.
|
| //
|
| // Sync writes are necessary on Windows for quota calculations; POSIX
|
| // calculates file sizes correctly even when not synced to disk.
|
| #if defined(OS_WIN)
|
| static const bool kSyncWrites = true;
|
| #else
|
| -static const bool kSyncWrites = false;
|
| +// TODO(dgrogan): Either remove the #if block or change this back to false.
|
| +// See http://crbug.com/338385.
|
| +static const bool kSyncWrites = true;
|
| #endif
|
|
|
| static leveldb::Slice MakeSlice(const StringPiece& s) {
|
|
|