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

Unified Diff: third_party/WebKit/Source/web/WebHeap.cpp

Issue 1839643009: RELEASE_ASSERT -> CHECK and ASSERT -> DCHECK in web. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Return DCHECK_IS_ON checks. Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebHeap.cpp
diff --git a/third_party/WebKit/Source/web/WebHeap.cpp b/third_party/WebKit/Source/web/WebHeap.cpp
index 611143514381f14e314e412cdcf1503fc64d7a49..f7caabe320d9005c655e3d31f91ee2a988ad5bb7 100644
--- a/third_party/WebKit/Source/web/WebHeap.cpp
+++ b/third_party/WebKit/Source/web/WebHeap.cpp
@@ -36,7 +36,7 @@ namespace blink {
WebHeap::SafePointScope::SafePointScope()
{
- RELEASE_ASSERT(!ThreadState::current()->isAtSafePoint());
+ CHECK(!ThreadState::current()->isAtSafePoint());
ThreadState::current()->enterSafePoint(BlinkGC::HeapPointersOnStack, this);
}

Powered by Google App Engine
This is Rietveld 408576698