Index: Source/platform/heap/ThreadState.h |
diff --git a/Source/platform/heap/ThreadState.h b/Source/platform/heap/ThreadState.h |
index e11e88ba590219e4eda73429b80b39bc58a41709..f0eea36a4881e4fa2076651b79fb403f1fed3cdd 100644 |
--- a/Source/platform/heap/ThreadState.h |
+++ b/Source/platform/heap/ThreadState.h |
@@ -81,7 +81,7 @@ enum ThreadAffinity { |
class Node; |
class CSSValue; |
-template<typename T, bool derivesNode = WTF::IsSubclass<T, Node>::value> struct DefaultThreadingTrait; |
+template<typename T, bool derivesNode = WTF::IsSubclass<typename WTF::RemoveConst<T>::Type, Node>::value> struct DefaultThreadingTrait; |
template<typename T> |
struct DefaultThreadingTrait<T, false> { |