Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc |
index dd64de21114a52e7d29c8a5848117322eeeeeebd..1c8a314892a156144a69d9af68ae8d5ba923f386 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc |
@@ -33,22 +33,22 @@ static const char kHistogramAttempted[] = |
// timing and data reduction proxy state. |
void AddDataToPageloadMetrics(const DataReductionProxyData& request_data, |
const DataReductionProxyPageLoadTiming& timing, |
PageloadMetrics* request) { |
request->set_session_key(request_data.session_key()); |
// For the timing events, any of them could be zero. Fill the message as a |
// best effort. |
request->set_allocated_first_request_time( |
protobuf_parser::CreateTimestampFromTime(timing.navigation_start) |
.release()); |
- if (request_data.original_request_url().is_valid()) |
- request->set_first_request_url(request_data.original_request_url().spec()); |
+ if (request_data.request_url().is_valid()) |
+ request->set_first_request_url(request_data.request_url().spec()); |
if (timing.first_contentful_paint) { |
request->set_allocated_time_to_first_contentful_paint( |
protobuf_parser::CreateDurationFromTimeDelta( |
timing.first_contentful_paint.value()) |
.release()); |
} |
if (timing.first_image_paint) { |
request->set_allocated_time_to_first_image_paint( |
protobuf_parser::CreateDurationFromTimeDelta( |
timing.first_image_paint.value()) |