We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29016b4 commit f714556Copy full SHA for f714556
shell/browser/net/electron_url_loader_factory.cc
@@ -549,9 +549,10 @@ void ElectronURLLoaderFactory::SendContents(
549
write_data->data = std::move(data);
550
write_data->producer =
551
std::make_unique<mojo::DataPipeProducer>(std::move(producer));
552
+ auto* producer_ptr = write_data->producer.get();
553
554
base::StringPiece string_piece(write_data->data);
- write_data->producer->Write(
555
+ producer_ptr->Write(
556
std::make_unique<mojo::StringDataSource>(
557
string_piece, mojo::StringDataSource::AsyncWritingMode::
558
STRING_STAYS_VALID_UNTIL_COMPLETION),
0 commit comments