Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(750)

Side by Side Diff: third_party/WebKit/Source/wtf/ThreadingPthreads.cpp

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Justin Haygood (jhaygood@reaktix.com) 3 * Copyright (C) 2007 Justin Haygood (jhaygood@reaktix.com)
4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. 4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 17 matching lines...) Expand all
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "wtf/Threading.h" 31 #include "wtf/Threading.h"
32 32
33 #if OS(POSIX) 33 #if OS(POSIX)
34 34
35 #include "wtf/CurrentTime.h" 35 #include "wtf/CurrentTime.h"
36 #include "wtf/DateMath.h" 36 #include "wtf/DateMath.h"
37 #include "wtf/HashMap.h" 37 #include "wtf/HashMap.h"
38 #include "wtf/OwnPtr.h"
39 #include "wtf/PassOwnPtr.h"
40 #include "wtf/StdLibExtras.h" 38 #include "wtf/StdLibExtras.h"
41 #include "wtf/ThreadSpecific.h" 39 #include "wtf/ThreadSpecific.h"
42 #include "wtf/ThreadingPrimitives.h" 40 #include "wtf/ThreadingPrimitives.h"
43 #include "wtf/WTFThreadData.h" 41 #include "wtf/WTFThreadData.h"
44 #include "wtf/dtoa/double-conversion.h" 42 #include "wtf/dtoa/double-conversion.h"
45 #include <errno.h> 43 #include <errno.h>
46 #include <limits.h> 44 #include <limits.h>
47 #include <sched.h> 45 #include <sched.h>
48 #include <sys/time.h> 46 #include <sys/time.h>
49 47
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 254
257 void willCreateThread() 255 void willCreateThread()
258 { 256 {
259 s_threadCreated = true; 257 s_threadCreated = true;
260 } 258 }
261 #endif 259 #endif
262 260
263 } // namespace WTF 261 } // namespace WTF
264 262
265 #endif // OS(POSIX) 263 #endif // OS(POSIX)
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/TerminatedArray.h ('k') | third_party/WebKit/Source/wtf/ThreadingWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698