Index: components/ukm/ukm_entry.cc |
diff --git a/components/ukm/ukm_entry.cc b/components/ukm/ukm_entry.cc |
index bdc129bec4aa608aabad66c251d33b7f4ecacee1..69e61040213fdd0f741008fed92a101c2950e561 100644 |
--- a/components/ukm/ukm_entry.cc |
+++ b/components/ukm/ukm_entry.cc |
@@ -15,7 +15,7 @@ UkmEntry::UkmEntry(int32_t source_id, const char* event_name) |
UkmEntry::~UkmEntry() {} |
-void UkmEntry::PopulateProto(Entry* proto_entry) { |
+void UkmEntry::PopulateProto(Entry* proto_entry) const { |
DCHECK(!proto_entry->has_source_id()); |
DCHECK(!proto_entry->has_event_hash()); |
DCHECK(proto_entry->metrics_size() == 0); |