Index: third_party/WebKit/Source/platform/TraceEvent.h |
diff --git a/third_party/WebKit/Source/platform/TraceEvent.h b/third_party/WebKit/Source/platform/TraceEvent.h |
index c7eda727580cb5d26954f95ce0d12cb2a9f95b91..0b09f4b0d00ceeaf35f37cf6539f755d45cd701f 100644 |
--- a/third_party/WebKit/Source/platform/TraceEvent.h |
+++ b/third_party/WebKit/Source/platform/TraceEvent.h |
@@ -384,7 +384,7 @@ template<typename T> struct ConvertableToTraceFormatTraits { |
}; |
template<typename T> struct ConvertableToTraceFormatTraits<PassRefPtr<T>> { |
Nico
2015/12/09 15:09:39
"Convertable", sigh.
|
- static const bool isConvertable = WTF::IsSubclass<T, TraceEvent::ConvertableToTraceFormat>::value; |
+ static const bool isConvertable = std::is_convertible<T*, TraceEvent::ConvertableToTraceFormat*>::value; |
static PassRefPtr<ConvertableToTraceFormat> moveFromIfConvertable(const PassRefPtr<T>& convertableToTraceFormat) |
{ |
return convertableToTraceFormat; |