Index: net/reporting/reporting_delivery_agent.cc |
diff --git a/net/reporting/reporting_delivery_agent.cc b/net/reporting/reporting_delivery_agent.cc |
index 3d42797f4ff1bada1d7a9bee79cd869936a1ee67..fb12d03b47a276d169a341e2e0ccac50ec058dc4 100644 |
--- a/net/reporting/reporting_delivery_agent.cc |
+++ b/net/reporting/reporting_delivery_agent.cc |
@@ -41,7 +41,7 @@ void SerializeReports(const std::vector<const ReportingReport*>& reports, |
report_value->SetInteger("age", (now - report->queued).InMilliseconds()); |
report_value->SetString("type", report->type); |
report_value->SetString("url", report->url.spec()); |
- report_value->Set("report", report->body->DeepCopy()); |
+ report_value->Set("report", base::MakeUnique<base::Value>(*report->body)); |
reports_value.Append(std::move(report_value)); |
} |