Index: src/heap/scavenger.cc |
diff --git a/src/heap/scavenger.cc b/src/heap/scavenger.cc |
index ab0848a4c0c82f6cfa245dcb3e3ecf916ab5b317..a57d403e99d5a36d5f66ead83e9ed88241282a9c 100644 |
--- a/src/heap/scavenger.cc |
+++ b/src/heap/scavenger.cc |
@@ -10,7 +10,6 @@ |
#include "src/heap/scavenger-inl.h" |
#include "src/isolate.h" |
#include "src/log.h" |
-#include "src/profiler/cpu-profiler.h" |
namespace v8 { |
namespace internal { |
@@ -391,7 +390,7 @@ void Scavenger::ScavengeObjectSlow(HeapObject** p, HeapObject* object) { |
void Scavenger::SelectScavengingVisitorsTable() { |
bool logging_and_profiling = |
FLAG_verify_predictable || isolate()->logger()->is_logging() || |
- isolate()->cpu_profiler()->is_profiling() || |
+ isolate()->is_profiling() || |
(isolate()->heap_profiler() != NULL && |
isolate()->heap_profiler()->is_tracking_object_moves()); |