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

Side by Side Diff: Source/wtf/FastMalloc.cpp

Issue 23887002: Header cleanup: don't include system header stdio.h in non-debug builds (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reworked. Created 7 years, 3 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
« no previous file with comments | « Source/weborigin/KURL.cpp ('k') | Source/wtf/PageAllocator.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2005, 2007, Google Inc. 1 // Copyright (c) 2005, 2007, Google Inc.
2 // All rights reserved. 2 // All rights reserved.
3 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserv ed. 3 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserv ed.
4 // 4 //
5 // Redistribution and use in source and binary forms, with or without 5 // Redistribution and use in source and binary forms, with or without
6 // modification, are permitted provided that the following conditions are 6 // modification, are permitted provided that the following conditions are
7 // met: 7 // met:
8 // 8 //
9 // * Redistributions of source code must retain the above copyright 9 // * Redistributions of source code must retain the above copyright
10 // notice, this list of conditions and the following disclaimer. 10 // notice, this list of conditions and the following disclaimer.
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 #include "Compiler.h" 280 #include "Compiler.h"
281 #include "TCPackedCache.h" 281 #include "TCPackedCache.h"
282 #include "TCPageMap.h" 282 #include "TCPageMap.h"
283 #include "TCSpinLock.h" 283 #include "TCSpinLock.h"
284 #include "TCSystemAlloc.h" 284 #include "TCSystemAlloc.h"
285 #include <algorithm> 285 #include <algorithm>
286 #include <errno.h> 286 #include <errno.h>
287 #include <pthread.h> 287 #include <pthread.h>
288 #include <stdarg.h> 288 #include <stdarg.h>
289 #include <stddef.h> 289 #include <stddef.h>
290 #include <stdio.h>
291 #if OS(UNIX) 290 #if OS(UNIX)
292 #include <unistd.h> 291 #include <unistd.h>
293 #endif 292 #endif
294 #if OS(WINDOWS) 293 #if OS(WINDOWS)
295 #ifndef WIN32_LEAN_AND_MEAN 294 #ifndef WIN32_LEAN_AND_MEAN
296 #define WIN32_LEAN_AND_MEAN 295 #define WIN32_LEAN_AND_MEAN
297 #endif 296 #endif
298 #include <windows.h> 297 #include <windows.h>
299 #endif 298 #endif
300 299
(...skipping 3591 matching lines...) Expand 10 before | Expand all | Expand 10 after
3892 void FastMallocZone::init() 3891 void FastMallocZone::init()
3893 { 3892 {
3894 static FastMallocZone zone(pageheap, &thread_heaps, static_cast<TCMalloc_Cen tral_FreeListPadded*>(central_cache), &span_allocator, &threadheap_allocator); 3893 static FastMallocZone zone(pageheap, &thread_heaps, static_cast<TCMalloc_Cen tral_FreeListPadded*>(central_cache), &span_allocator, &threadheap_allocator);
3895 } 3894 }
3896 3895
3897 #endif // OS(DARWIN) 3896 #endif // OS(DARWIN)
3898 3897
3899 } // namespace WTF 3898 } // namespace WTF
3900 3899
3901 #endif // FORCE_SYSTEM_MALLOC 3900 #endif // FORCE_SYSTEM_MALLOC
OLDNEW
« no previous file with comments | « Source/weborigin/KURL.cpp ('k') | Source/wtf/PageAllocator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698