Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: Source/platform/heap/Heap.h

Issue 1164643005: Oilpan: Add ENABLE_LAZY_SWEEPING and ENABLE_IDLE_GC to features.gypi (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/heap/Heap.h
diff --git a/Source/platform/heap/Heap.h b/Source/platform/heap/Heap.h
index fdf24de7de2a5a962ffc337dedc6b423320e5e84..f3a23d12d1ab3ce5797790bdbf9c92e875c72820 100644
--- a/Source/platform/heap/Heap.h
+++ b/Source/platform/heap/Heap.h
@@ -829,7 +829,7 @@ public:
static bool willObjectBeLazilySwept(const T* objectPointer)
{
static_assert(IsGarbageCollectedType<T>::value, "only objects deriving from GarbageCollected can be used.");
-#if ENABLE_LAZY_SWEEPING
+#if ENABLE(LAZY_SWEEPING)
BasePage* page = pageFromObject(objectPointer);
if (page->hasBeenSwept())
return false;
@@ -1106,7 +1106,7 @@ public:
}
};
-#if ENABLE_LAZY_SWEEPING
+#if ENABLE(LAZY_SWEEPING)
#define EAGERLY_FINALIZE() typedef int IsEagerlyFinalizedMarker
#define EAGERLY_FINALIZE_WILL_BE_REMOVED()
#else

Powered by Google App Engine
This is Rietveld 408576698