Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / platform / WebThread.cpp
blob4185f53f92a555fd4fcc5deab7fc764c4f9bcff0
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
3 // found in the LICENSE file.
5 #include "config.h"
6 #include "public/platform/WebThread.h"
8 #include "wtf/Assertions.h"
10 #if OS(WIN)
11 #include <windows.h>
12 #elif OS(POSIX)
13 #include <unistd.h>
14 #endif
16 namespace blink {
18 #if OS(WIN)
19 static_assert(sizeof(blink::PlatformThreadId) >= sizeof(DWORD), "size of platform thread id is too small");
20 #elif OS(POSIX)
21 static_assert(sizeof(blink::PlatformThreadId) >= sizeof(pid_t), "size of platform thread id is too small");
22 #else
23 #error Unexpected platform
24 #endif
26 } // namespace blink