Make reading blobs work through Blob mojo interface.

https://chromium-review.googlesource.com/c/chromium/src/+/773199
This commit is contained in:
deepak1556 2018-04-12 13:36:23 +05:30 committed by Samuel Attard
parent a1683eb4e8
commit c9f20516ac
3 changed files with 5 additions and 13 deletions

View file

@ -224,10 +224,7 @@ AtomBlobReader* AtomBrowserContext::GetBlobReader() {
if (!blob_reader_.get()) {
content::ChromeBlobStorageContext* blob_context =
content::ChromeBlobStorageContext::GetFor(this);
storage::FileSystemContext* file_system_context =
content::BrowserContext::GetStoragePartition(this, nullptr)
->GetFileSystemContext();
blob_reader_.reset(new AtomBlobReader(blob_context, file_system_context));
blob_reader_.reset(new AtomBlobReader(blob_context));
}
return blob_reader_.get();
}