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 8dba58169c6faf03edbab5ae20700a51d9fe8275..c19e56d53c77f3989753f43957b6a00b47b71e35 100644 |
--- a/third_party/WebKit/Source/wtf/LeakAnnotations.h |
+++ b/third_party/WebKit/Source/wtf/LeakAnnotations.h |
@@ -103,7 +103,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<IsSubclass<V, typename std::remove_pointer<decltype(p->registerAsStaticReference())>::type>::value>::Type* = 0); |
template<typename V> static NoType checkHasRegisterAsStaticReferenceMethod(...); |
public: |