Make reading blobs work through Blob mojo interface.
https://chromium-review.googlesource.com/c/chromium/src/+/773199
This commit is contained in:
parent
a1683eb4e8
commit
c9f20516ac
3 changed files with 5 additions and 13 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue