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

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

Issue 2774333002: Revert "Move files in wtf/ to platform/wtf/" (Closed)
Patch Set: Created 3 years, 8 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 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 "platform/wtf/StackUtil.h" 5 #include "wtf/StackUtil.h"
6 6
7 #include "platform/wtf/Assertions.h" 7 #include "wtf/Assertions.h"
8 #include "platform/wtf/Threading.h" 8 #include "wtf/Threading.h"
9 #include "platform/wtf/WTFThreadData.h" 9 #include "wtf/WTFThreadData.h"
10 10
11 #if OS(WIN) 11 #if OS(WIN)
12 #include <stddef.h> 12 #include <stddef.h>
13 #include <windows.h> 13 #include <windows.h>
14 #include <winnt.h> 14 #include <winnt.h>
15 #elif defined(__GLIBC__) 15 #elif defined(__GLIBC__)
16 extern "C" void* __libc_stack_end; // NOLINT 16 extern "C" void* __libc_stack_end; // NOLINT
17 #endif 17 #endif
18 18
19 namespace WTF { 19 namespace WTF {
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // explains the details. 188 // explains the details.
189 RELEASE_ASSERT(s_threadStackSize > 4 * 0x1000); 189 RELEASE_ASSERT(s_threadStackSize > 4 * 0x1000);
190 s_threadStackSize -= 4 * 0x1000; 190 s_threadStackSize -= 4 * 0x1000;
191 return s_threadStackSize; 191 return s_threadStackSize;
192 } 192 }
193 #endif 193 #endif
194 194
195 } // namespace internal 195 } // namespace internal
196 196
197 } // namespace WTF 197 } // namespace WTF
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/SizeLimits.cpp ('k') | third_party/WebKit/Source/wtf/StringExtrasTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698