Index: Source/platform/Timer.h |
diff --git a/Source/platform/Timer.h b/Source/platform/Timer.h |
index 2d1611f155369781b66adf82563f320c40f02fac..b5f7b5c1a65577b5e4b3eec912f3404b9ed8fab4 100644 |
--- a/Source/platform/Timer.h |
+++ b/Source/platform/Timer.h |
@@ -127,7 +127,7 @@ public: |
// Oilpan: if a timer fires while Oilpan heaps are being lazily |
// swept, it is not safe to proceed if the object is about to |
// be swept (and this timer will be stopped while doing so.) |
- return Heap::isFinalizedObjectAlive(objectPointer); |
+ return !Heap::willObjectBeLazilySwept(objectPointer); |
} |
}; |