From a156a05101bb8822d12c5f21fbea2f00854ed165 Mon Sep 17 00:00:00 2001 From: nikolaos Date: Mon, 9 May 2016 01:04:33 -0700 Subject: [PATCH] Fix bug with runtime-call-stats timers RuntimeCallTimers were not properly stopped and this made a DCHECK in the Debug version fail. R=cbruni@chromium.org BUG= LOG=N Review-Url: https://codereview.chromium.org/1955943002 Cr-Commit-Position: refs/heads/master@{#36097} --- src/counters.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/counters.h b/src/counters.h index d2870c2fd2..681ac59b1c 100644 --- a/src/counters.h +++ b/src/counters.h @@ -505,6 +505,7 @@ class RuntimeCallTimer { inline RuntimeCallTimer* Stop() { base::TimeDelta delta = timer_.Elapsed(); + timer_.Stop(); counter_->time += delta; if (parent_ != NULL) { parent_->AdjustForSubTimer(delta);