aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_browser_indexed__db_indexed__db__backing__store.cc
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2016-06-08 05:31:35 +0000
committerRene Ladan <rene@FreeBSD.org>2016-06-08 05:31:35 +0000
commitb2ee829ac493ae48d918522366fe69f5a90ce096 (patch)
tree3caafa6306bb15a6b4ec5e8725116fc0231d521c /www/chromium/files/patch-content_browser_indexed__db_indexed__db__backing__store.cc
parent1c633af674ae4fa910414d8a08f485b6947aaedd (diff)
downloadports-b2ee829ac493ae48d918522366fe69f5a90ce096.tar.gz
ports-b2ee829ac493ae48d918522366fe69f5a90ce096.zip
MFH: r416521
Notes
Notes: svn path=/branches/2016Q2/; revision=416530
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.cc11
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)) {