Skip to content

Commit

Permalink
Simplify condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
goodov committed Oct 9, 2024
1 parent b8dfff2 commit 32abbb2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ void PageGraph::DidReceiveData(uint64_t identifier,
if (TrackedRequestRecord* request_record =
request_tracker_.GetTrackingRecord(identifier)) {
if (TrackedRequest* request = request_record->request.get()) {
if (auto data_span = data.span(); data_span) {
if (auto data_span = data.span()) {
request->UpdateResponseBodyHash(*data_span);
}
}
Expand Down

0 comments on commit 32abbb2

Please sign in to comment.