| Index: third_party/WebKit/Source/modules/filesystem/DOMFileSystemSync.cpp
|
| diff --git a/third_party/WebKit/Source/modules/filesystem/DOMFileSystemSync.cpp b/third_party/WebKit/Source/modules/filesystem/DOMFileSystemSync.cpp
|
| index f5689df94aa43dea6df6b36ac7905d4406ce755d..ea862aa218899a7e5a418ed16cbb0008c31792da 100644
|
| --- a/third_party/WebKit/Source/modules/filesystem/DOMFileSystemSync.cpp
|
| +++ b/third_party/WebKit/Source/modules/filesystem/DOMFileSystemSync.cpp
|
| @@ -109,10 +109,12 @@ class CreateFileHelper final : public AsyncFileSystemCallbacks {
|
|
|
| void didCreateSnapshotFile(const FileMetadata& metadata,
|
| PassRefPtr<BlobDataHandle> snapshot) override {
|
| - // We can't directly use the snapshot blob data handle because the content type on it hasn't been set.
|
| - // The |snapshot| param is here to provide a a chain of custody thru thread bridging that is held onto until
|
| - // *after* we've coined a File with a new handle that has the correct type set on it. This allows the
|
| - // blob storage system to track when a temp file can and can't be safely deleted.
|
| + // We can't directly use the snapshot blob data handle because the content
|
| + // type on it hasn't been set. The |snapshot| param is here to provide a a
|
| + // chain of custody thru thread bridging that is held onto until *after*
|
| + // we've coined a File with a new handle that has the correct type set on
|
| + // it. This allows the blob storage system to track when a temp file can and
|
| + // can't be safely deleted.
|
|
|
| m_result->m_file =
|
| DOMFileSystemBase::createFile(metadata, m_url, m_type, m_name);
|
|
|