Chromium Code Reviews| Index: Source/platform/WebThread.cpp |
| diff --git a/Source/platform/WebThread.cpp b/Source/platform/WebThread.cpp |
| index 33a29ab63962034d12e6dc2b54b1345368055b7f..8b82e64d918325e3635601cd9ecea90d2d91c436 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"); |
|
Nico
2014/12/17 23:24:43
nit: lower-case S
Mostyn Bramley-Moore
2014/12/17 23:33:54
Done.
|
| #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"); |
|
Nico
2014/12/17 23:24:43
nit: lower-case S
Mostyn Bramley-Moore
2014/12/17 23:33:54
Done.
|
| #else |
| #error Unexpected platform |
| #endif |