Index: content/child/webblobregistry_impl.cc |
diff --git a/content/child/webblobregistry_impl.cc b/content/child/webblobregistry_impl.cc |
index 3850ce57c13f4120dc93b980c784e14c7135d755..54e4cab5553a031ff8db024007130a03a61b2b65 100644 |
--- a/content/child/webblobregistry_impl.cc |
+++ b/content/child/webblobregistry_impl.cc |
@@ -237,20 +237,9 @@ void WebBlobRegistryImpl::BuilderImpl::appendFileSystemURL( |
void WebBlobRegistryImpl::BuilderImpl::build() { |
sender_->Send(new BlobStorageMsg_RegisterBlobUUID( |
uuid_, content_type_, "", consolidation_->referenced_blobs())); |
- io_runner_->PostTask( |
- FROM_HERE, |
- base::Bind(&WebBlobRegistryImpl::StartBlobAsyncConstruction, uuid_, |
- base::Passed(&consolidation_), sender_, main_runner_)); |
-} |
- |
-/* static */ |
-void WebBlobRegistryImpl::StartBlobAsyncConstruction( |
- const std::string& uuid, |
- std::unique_ptr<BlobConsolidation> consolidation, |
- scoped_refptr<ThreadSafeSender> sender, |
- scoped_refptr<base::SingleThreadTaskRunner> main_runner) { |
- BlobTransportController::GetInstance()->InitiateBlobTransfer( |
- uuid, std::move(consolidation), sender.get(), std::move(main_runner)); |
+ BlobTransportController::InitiateBlobTransfer( |
+ uuid_, std::move(consolidation_), sender_, io_runner_.get(), |
+ main_runner_); |
} |
} // namespace content |