Index: content/browser/indexed_db/indexed_db_dispatcher_host.cc |
diff --git a/content/browser/indexed_db/indexed_db_dispatcher_host.cc b/content/browser/indexed_db/indexed_db_dispatcher_host.cc |
index b147951fa337ad756a8d39d01f47e657b918d5b0..47265d5c98651d5bdb168940d7dff6b7ad9a03ba 100644 |
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.cc |
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.cc |
@@ -650,6 +650,11 @@ void IndexedDBDispatcherHost::DatabaseDispatcherHost::OnPut( |
} |
blob_info[i] = |
IndexedDBBlobInfo(info.uuid, path, info.file_name, info.mime_type); |
+ if (info.size != static_cast<uint64_t>(-1)) { |
cmumford
2014/06/19 19:37:54
Just curious why IndexedDBMsg_BlobOrFileInfo.size
ericu
2014/06/19 21:00:04
IIRC it's a remnant of the WebKit API; we might wa
|
+ blob_info[i].set_last_modified( |
+ base::Time::FromDoubleT(info.last_modified)); |
+ blob_info[i].set_size(info.size); |
+ } |
} else { |
blob_info[i] = IndexedDBBlobInfo(info.uuid, info.mime_type, info.size); |
} |