Index: src/heap/gc-tracer.h |
diff --git a/src/heap/gc-tracer.h b/src/heap/gc-tracer.h |
index c60317f9417e2bf54bcd99e631756ad255acbdc5..922932996fe60f1415cf6e49bd65442c4d44eb3f 100644 |
--- a/src/heap/gc-tracer.h |
+++ b/src/heap/gc-tracer.h |
@@ -143,15 +143,8 @@ class GCTracer { |
NUMBER_OF_SCOPES |
}; |
- Scope(GCTracer* tracer, ScopeId scope) : tracer_(tracer), scope_(scope) { |
- start_time_ = base::OS::TimeCurrentMillis(); |
- } |
- |
- ~Scope() { |
- DCHECK(scope_ < NUMBER_OF_SCOPES); // scope_ is unsigned. |
- tracer_->current_.scopes[scope_] += |
- base::OS::TimeCurrentMillis() - start_time_; |
- } |
+ Scope(GCTracer* tracer, ScopeId scope); |
+ ~Scope(); |
private: |
GCTracer* tracer_; |