Index: Source/platform/WebThread.cpp |
diff --git a/Source/platform/WebThread.cpp b/Source/platform/WebThread.cpp |
index 33a29ab63962034d12e6dc2b54b1345368055b7f..7e367195e719ec032f273c61a6334f21be174366 100644 |
--- a/Source/platform/WebThread.cpp |
+++ b/Source/platform/WebThread.cpp |
@@ -15,9 +15,9 @@ |
namespace { |
#if OS(WIN) |
-COMPILE_ASSERT(sizeof(blink::PlatformThreadId) >= sizeof(DWORD), Size_of_platform_thread_id_is_too_small); |
+static_assert(sizeof(blink::PlatformThreadId) >= sizeof(DWORD), "size of platform thread id is too small"); |
#elif OS(POSIX) |
-COMPILE_ASSERT(sizeof(blink::PlatformThreadId) >= sizeof(pid_t), Size_of_platform_thread_id_is_too_small); |
+static_assert(sizeof(blink::PlatformThreadId) >= sizeof(pid_t), "size of platform thread id is too small"); |
#else |
#error Unexpected platform |
#endif |