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

Unified Diff: content/browser/indexed_db/indexed_db_backing_store.cc

Issue 2517343002: Make indexed_db.mojom.BlobInfo.size a signed integer. (Closed)
Patch Set: Remove static cast in indexed_db_backing_store.cc:739. 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
« no previous file with comments | « content/browser/indexed_db/database_impl.cc ('k') | content/common/indexed_db/indexed_db.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/indexed_db_backing_store.cc
diff --git a/content/browser/indexed_db/indexed_db_backing_store.cc b/content/browser/indexed_db/indexed_db_backing_store.cc
index e09458913785c85a1b5e963db68819147f48c3a4..1f7d36672e73d2e6d6ed1aa78c4fc3fb8b7cdc11 100644
--- a/content/browser/indexed_db/indexed_db_backing_store.cc
+++ b/content/browser/indexed_db/indexed_db_backing_store.cc
@@ -736,7 +736,7 @@ static bool DecodeBlobData(const std::string& data,
} else {
if (!DecodeVarInt(&slice, &size) || size < 0)
return false;
- ret.push_back(IndexedDBBlobInfo(type, static_cast<uint64_t>(size), key));
+ ret.push_back(IndexedDBBlobInfo(type, size, key));
}
}
output->swap(ret);
« no previous file with comments | « content/browser/indexed_db/database_impl.cc ('k') | content/common/indexed_db/indexed_db.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698