Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d979292 authored by Alex Vakulenko's avatar Alex Vakulenko
Browse files

metricsd: Fix upload service to compile with new libchrome version

libmetric's HistogramSnapshotManager::PrepareDeltas now takes the
iterators for the histogram collection to work on, instead of getting
a global one.

Change-Id: I3997ea7d2c330431379d055b0cb876069bddf395
parent 922e151b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -183,6 +183,7 @@ void UploadService::GatherHistograms() {
  base::StatisticsRecorder::GetHistograms(&histograms);

  histogram_snapshot_manager_.PrepareDeltas(
      histograms.begin(), histograms.end(),
      base::Histogram::kNoFlags, base::Histogram::kUmaTargetedHistogramFlag);

  // Gather and reset the crash counters, shared with the binder threads.