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

Unified Diff: Source/platform/heap/HeapTest.cpp

Issue 942813002: Oilpan: prefer ENABLE(OILPAN). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/HeapTest.cpp
diff --git a/Source/platform/heap/HeapTest.cpp b/Source/platform/heap/HeapTest.cpp
index 5cd31e237dc13d698bc85dd9c93248ba42992951..3f2451e527b88da61baad42ecc3186fccd4fa0a2 100644
--- a/Source/platform/heap/HeapTest.cpp
+++ b/Source/platform/heap/HeapTest.cpp
@@ -1255,9 +1255,7 @@ public:
DEFINE_INLINE_TRACE()
{
-#if ENABLE_OILPAN
visitor->trace(m_backPointer);
-#endif
}
static int s_aliveCount;
@@ -1281,7 +1279,7 @@ public:
virtual ~SuperClass()
{
-#if !ENABLE_OILPAN
+#if !ENABLE(OILPAN)
m_pointsBack->setBackPointer(0);
#endif
--s_aliveCount;
@@ -1297,9 +1295,7 @@ public:
DEFINE_INLINE_VIRTUAL_TRACE()
{
-#if ENABLE_OILPAN
visitor->trace(m_pointsBack);
-#endif
}
PointsBack* pointsBack() const { return m_pointsBack.get(); }
@@ -1344,10 +1340,8 @@ public:
DEFINE_INLINE_VIRTUAL_TRACE()
{
-#if ENABLE_OILPAN
- SuperClass::trace(visitor);
visitor->trace(m_data);
-#endif
+ SuperClass::trace(visitor);
}
static int s_aliveCount;
« Source/core/css/CSSImageGeneratorValue.cpp ('K') | « Source/core/css/CSSImageGeneratorValue.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698