Index: third_party/WebKit/Source/platform/CrossThreadCopier.cpp |
diff --git a/third_party/WebKit/Source/platform/CrossThreadCopier.cpp b/third_party/WebKit/Source/platform/CrossThreadCopier.cpp |
index 367c1249ade671fcb41099ab0bce89c86ce6ea9d..a1d1190320524601ea5ed1447c34a45cfd69267c 100644 |
--- a/third_party/WebKit/Source/platform/CrossThreadCopier.cpp |
+++ b/third_party/WebKit/Source/platform/CrossThreadCopier.cpp |
@@ -69,17 +69,17 @@ CrossThreadCopierBase<false, false, false, ResourceResponse>::Type CrossThreadCo |
class CopierThreadSafeRefCountedTest : public ThreadSafeRefCounted<CopierThreadSafeRefCountedTest> { |
}; |
-static_assert((WTF::IsSameType< |
+static_assert((std::is_same< |
PassRefPtr<CopierThreadSafeRefCountedTest>, |
CrossThreadCopier<PassRefPtr<CopierThreadSafeRefCountedTest>>::Type |
>::value), |
"PassRefPtr test"); |
-static_assert((WTF::IsSameType< |
+static_assert((std::is_same< |
PassRefPtr<CopierThreadSafeRefCountedTest>, |
CrossThreadCopier<RefPtr<CopierThreadSafeRefCountedTest>>::Type |
>::value), |
"RefPtr test"); |
-static_assert((WTF::IsSameType< |
+static_assert((std::is_same< |
PassRefPtr<CopierThreadSafeRefCountedTest>, |
CrossThreadCopier<CopierThreadSafeRefCountedTest*>::Type |
>::value), |
@@ -95,33 +95,33 @@ template<typename T> struct CrossThreadCopierBase<false, false, false, T> { |
class CopierRefCountedTest : public RefCounted<CopierRefCountedTest> { |
}; |
-static_assert((WTF::IsSameType< |
+static_assert((std::is_same< |
int, |
CrossThreadCopier<PassRefPtr<CopierRefCountedTest>>::Type |
>::value), |
"PassRefPtr<RefCountedTest> test"); |
-static_assert((WTF::IsSameType< |
+static_assert((std::is_same< |
int, |
CrossThreadCopier<RefPtr<CopierRefCountedTest>>::Type |
>::value), |
"RefPtr<RefCounted> test"); |
-static_assert((WTF::IsSameType< |
+static_assert((std::is_same< |
int, |
CrossThreadCopier<CopierRefCountedTest*>::Type |
>::value), |
"Raw pointer RefCounted test"); |
// Verify that PassOwnPtr gets passed through. |
-static_assert((WTF::IsSameType< |
+static_assert((std::is_same< |
PassOwnPtr<float>, |
CrossThreadCopier<PassOwnPtr<float>>::Type |
>::value), |
"PassOwnPtr test"); |
// Verify that PassOwnPtr does not get passed through. |
-static_assert((WTF::IsSameType< |
+static_assert((std::is_same< |
int, |
CrossThreadCopier<OwnPtr<float>>::Type |
>::value), |