OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "sky/engine/config.h" | |
6 #include "sky/engine/public/platform/WebThread.h" | 5 #include "sky/engine/public/platform/WebThread.h" |
7 | 6 |
8 #include "sky/engine/wtf/Assertions.h" | 7 #include "sky/engine/wtf/Assertions.h" |
9 | 8 |
10 #include <unistd.h> | 9 #include <unistd.h> |
11 | 10 |
12 namespace { | 11 namespace { |
13 COMPILE_ASSERT(sizeof(blink::PlatformThreadId) >= sizeof(pid_t), Size_of_platfor
m_thread_id_is_too_small); | 12 COMPILE_ASSERT(sizeof(blink::PlatformThreadId) >= sizeof(pid_t), Size_of_platfor
m_thread_id_is_too_small); |
14 } | 13 } |
OLD | NEW |