| Index: third_party/WebKit/Source/platform/heap/ThreadingTraits.h
|
| diff --git a/third_party/WebKit/Source/platform/heap/ThreadingTraits.h b/third_party/WebKit/Source/platform/heap/ThreadingTraits.h
|
| index fef13ef6931856b060354f4f61ca2515afcb6d23..cf777b6568cab99dbfe7fe65b8862273e6e79dbe 100644
|
| --- a/third_party/WebKit/Source/platform/heap/ThreadingTraits.h
|
| +++ b/third_party/WebKit/Source/platform/heap/ThreadingTraits.h
|
| @@ -35,8 +35,8 @@ class Node;
|
| class NodeList;
|
|
|
| template<typename T,
|
| - bool mainThreadOnly = WTF::IsSubclass<typename std::remove_const<T>::type, Node>::value
|
| - || WTF::IsSubclass<typename std::remove_const<T>::type, NodeList>::value> struct DefaultThreadingTrait;
|
| + bool mainThreadOnly = std::is_base_of<Node, T>::value
|
| + || std::is_base_of<NodeList, T>::value> struct DefaultThreadingTrait;
|
|
|
| template<typename T>
|
| struct DefaultThreadingTrait<T, false> {
|
|
|