chore: bump chromium to 0239d631f03d0111f77b0b98c7765 (master) (#20285)

This commit is contained in:
Electron Bot 2019-09-21 10:51:28 -04:00 committed by Jeremy Apthorp
parent d090b0cd2d
commit 913ec1e0d0
42 changed files with 222 additions and 180 deletions

View file

@ -59,7 +59,7 @@ void URLPipeLoader::NotifyComplete(int result) {
void URLPipeLoader::OnResponseStarted(
const GURL& final_url,
const network::ResourceResponseHead& response_head) {
const network::mojom::URLResponseHead& response_head) {
mojo::ScopedDataPipeProducerHandle producer;
mojo::ScopedDataPipeConsumerHandle consumer;
MojoResult rv = mojo::CreateDataPipe(nullptr, &producer, &consumer);
@ -70,7 +70,7 @@ void URLPipeLoader::OnResponseStarted(
producer_ = std::make_unique<mojo::DataPipeProducer>(std::move(producer));
client_->OnReceiveResponse(response_head);
client_->OnReceiveResponse(response_head.Clone());
client_->OnStartLoadingResponseBody(std::move(consumer));
}