| Index: components/ukm/ukm_source.cc
|
| diff --git a/components/ukm/ukm_source.cc b/components/ukm/ukm_source.cc
|
| index cc52f5baa9a4d375114f0c71427e17b24f3ffeb1..758ff8cd57e189f5950da2939cf3289473ca7a4f 100644
|
| --- a/components/ukm/ukm_source.cc
|
| +++ b/components/ukm/ukm_source.cc
|
| @@ -13,14 +13,12 @@ UkmSource::UkmSource() = default;
|
|
|
| UkmSource::~UkmSource() = default;
|
|
|
| -void UkmSource::PopulateProto(Source* proto_source) {
|
| +void UkmSource::PopulateProto(Source* proto_source) const {
|
| DCHECK(!proto_source->has_id());
|
| DCHECK(!proto_source->has_url());
|
|
|
| proto_source->set_id(GetHashedSourceID(id_));
|
| - proto_source->set_url(committed_url_.spec());
|
| - proto_source->set_first_contentful_paint_msec(
|
| - first_contentful_paint_.InMilliseconds());
|
| + proto_source->set_url(url_.spec());
|
| }
|
|
|
| int32_t UkmSource::GetHashedSourceID(const content::GlobalRequestID& id) {
|
|
|