diff options
Diffstat (limited to 'www/chromium/files/patch-content_browser_indexed__db_indexed__db__backing__store.cc')
-rw-r--r-- | www/chromium/files/patch-content_browser_indexed__db_indexed__db__backing__store.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-content_browser_indexed__db_indexed__db__backing__store.cc b/www/chromium/files/patch-content_browser_indexed__db_indexed__db__backing__store.cc new file mode 100644 index 000000000000..0ba4c02d4e74 --- /dev/null +++ b/www/chromium/files/patch-content_browser_indexed__db_indexed__db__backing__store.cc @@ -0,0 +1,11 @@ +--- content/browser/indexed_db/indexed_db_backing_store.cc.orig 2016-05-11 19:02:20 UTC ++++ content/browser/indexed_db/indexed_db_backing_store.cc +@@ -2433,7 +2433,7 @@ bool IndexedDBBackingStore::WriteBlobFil + // The round-trip can be lossy; round to nearest millisecond. + int64_t delta = + (descriptor.last_modified() - info.last_modified).InMilliseconds(); +- if (std::abs(delta) > 1) ++ if (std::labs(delta) > 1) + return false; + } + if (!base::TouchFile(path, info.last_accessed, info.last_modified)) { |