| Index: components/payments/core/journey_logger.cc
|
| diff --git a/components/payments/core/journey_logger.cc b/components/payments/core/journey_logger.cc
|
| index 11665b770cd09012252f156e45b1e64bf866dc45..aeae9aa0652bf7083c6e76c8c5f482a4c06a61d4 100644
|
| --- a/components/payments/core/journey_logger.cc
|
| +++ b/components/payments/core/journey_logger.cc
|
| @@ -72,7 +72,10 @@ JourneyLogger::JourneyLogger(bool is_incognito,
|
| url_(url),
|
| ukm_service_(ukm_service) {}
|
|
|
| -JourneyLogger::~JourneyLogger() {}
|
| +JourneyLogger::~JourneyLogger() {
|
| + if (was_show_called_)
|
| + DCHECK(has_recorded_);
|
| +}
|
|
|
| void JourneyLogger::IncrementSelectionAdds(Section section) {
|
| DCHECK_LT(section, SECTION_MAX);
|
|
|