| Index: third_party/WebKit/Source/wtf/LeakAnnotations.h
|
| diff --git a/third_party/WebKit/Source/wtf/LeakAnnotations.h b/third_party/WebKit/Source/wtf/LeakAnnotations.h
|
| index 446992db6abf6cfefb9bc9473bcd08dc45da6daf..305f7f02cf06466d1edb1d17e3b1e22b4b9a0b93 100644
|
| --- a/third_party/WebKit/Source/wtf/LeakAnnotations.h
|
| +++ b/third_party/WebKit/Source/wtf/LeakAnnotations.h
|
| @@ -101,7 +101,7 @@ class CanRegisterStaticLocalReference {
|
| } NoType;
|
|
|
| // Check if class T has public method "T* registerAsStaticReference()".
|
| - template<typename V> static YesType checkHasRegisterAsStaticReferenceMethod(V* p, typename EnableIf<IsSubclass<V, typename std::remove_pointer<decltype(p->registerAsStaticReference())>::type>::value>::Type* = 0);
|
| + template<typename V> static YesType checkHasRegisterAsStaticReferenceMethod(V* p, typename std::enable_if<WTF::IsBaseOf<typename std::remove_pointer<decltype(p->registerAsStaticReference())>::type, V>::value>::Type* = 0);
|
| template<typename V> static NoType checkHasRegisterAsStaticReferenceMethod(...);
|
|
|
| public:
|
|
|