| Index: third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp b/third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp
|
| index 9ad5deb9f44da6aaf8adee05a3e0c4ef6cbdc5c4..07e82f80745293f2be1df44a8bf335ff3a822ef3 100644
|
| --- a/third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp
|
| @@ -48,9 +48,9 @@ void StackFrameDepth::EnableStackLimit() {
|
| static const int kStackRoomSize = 1024;
|
|
|
| Address stack_base = reinterpret_cast<Address>(WTF::GetStackStart());
|
| - RELEASE_ASSERT(stack_size > static_cast<const size_t>(kStackRoomSize));
|
| + CHECK_GT(stack_size, static_cast<const size_t>(kStackRoomSize));
|
| size_t stack_room = stack_size - kStackRoomSize;
|
| - RELEASE_ASSERT(stack_base > reinterpret_cast<Address>(stack_room));
|
| + CHECK_GT(stack_base, reinterpret_cast<Address>(stack_room));
|
| stack_frame_limit_ = reinterpret_cast<uintptr_t>(stack_base - stack_room);
|
|
|
| // If current stack use is already exceeding estimated limit, mark as
|
|
|