Index: src/heap/incremental-marking-job.h |
diff --git a/src/heap/incremental-marking-job.h b/src/heap/incremental-marking-job.h |
index 9a3fb6f71d784df155424ed4138bb982fbb7f0f7..ccc60c55cbb73458dc467fd13b7757899b5066f4 100644 |
--- a/src/heap/incremental-marking-job.h |
+++ b/src/heap/incremental-marking-job.h |
@@ -5,7 +5,6 @@ |
#ifndef V8_HEAP_INCREMENTAL_MARKING_JOB_H_ |
#define V8_HEAP_INCREMENTAL_MARKING_JOB_H_ |
-#include "src/base/atomic-utils.h" |
#include "src/cancelable-task.h" |
namespace v8 { |
@@ -33,6 +32,8 @@ class IncrementalMarkingJob { |
IncrementalMarkingJob() : task_pending_(false) {} |
+ bool TaskPending() { return task_pending_; } |
+ |
void Start(Heap* heap); |
void NotifyTask(); |
@@ -40,7 +41,7 @@ class IncrementalMarkingJob { |
void ScheduleTask(Heap* heap); |
private: |
- base::AtomicValue<bool> task_pending_; |
+ bool task_pending_; |
}; |
} // namespace internal |
} // namespace v8 |