Index: public/platform/WebPrivateOwnPtr.h |
diff --git a/public/platform/WebPrivateOwnPtr.h b/public/platform/WebPrivateOwnPtr.h |
index d76cff68f4ee774e15d2c7ae281e220111ba901d..db1b2671f4d231f6b93c03b4685a8ae06d3efb3b 100644 |
--- a/public/platform/WebPrivateOwnPtr.h |
+++ b/public/platform/WebPrivateOwnPtr.h |
@@ -91,7 +91,7 @@ private: |
template<typename T> template<typename U> inline WebPrivateOwnPtr<T>::WebPrivateOwnPtr(const PassOwnPtr<U>& o, EnsurePtrConvertibleArgDefn(U, T)) |
: m_ptr(o.leakPtr()) |
{ |
- COMPILE_ASSERT(!WTF::IsArray<T>::value, Pointers_to_array_must_never_be_converted); |
+ static_assert(!WTF::IsArray<T>::value, "Pointers to array must never be converted"); |
} |
#endif |