Index: Source/platform/heap/Visitor.h |
diff --git a/Source/platform/heap/Visitor.h b/Source/platform/heap/Visitor.h |
index ed9bb1256b950271dafaead45dfcaa11781408cb..7a701fc38f7ad9416b1c05669ead56532ea3fc4c 100644 |
--- a/Source/platform/heap/Visitor.h |
+++ b/Source/platform/heap/Visitor.h |
@@ -139,12 +139,16 @@ public: |
static const bool value = false; |
}; |
+template <typename T> const bool NeedsAdjustAndMark<T, true>::value; |
Ken Russell (switch to Gerrit)
2014/07/30 22:21:29
Why is this out-of-line definition needed? Will th
Nico
2014/07/30 22:26:02
Yes, that seems wrong.
Nick Bray (chromium)
2014/07/30 22:33:45
It isn't technically "out-of-line" because the inl
|
+ |
template<typename T> |
class NeedsAdjustAndMark<T, false> { |
public: |
static const bool value = WTF::IsSubclass<typename WTF::RemoveConst<T>::Type, GarbageCollectedMixin>::value; |
}; |
+template <typename T> const bool NeedsAdjustAndMark<T, false>::value; |
+ |
template<typename T, bool = NeedsAdjustAndMark<T>::value> class DefaultTraceTrait; |
// The TraceTrait is used to specify how to mark an object pointer and |