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

Unified Diff: third_party/WebKit/Source/platform/heap/BlinkGCInterruptor.cpp

Issue 2619493003: Replace ASSERTs in platform/heap/ with DCHECKs
Patch Set: temp Created 3 years, 11 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/platform/heap/BlinkGCInterruptor.cpp
diff --git a/third_party/WebKit/Source/platform/heap/BlinkGCInterruptor.cpp b/third_party/WebKit/Source/platform/heap/BlinkGCInterruptor.cpp
index 1593d586ee432843735be9aa89c0479736f25f78..16ca4ee8dc4eca97953f6de1d559a6d90ccaaa38 100644
--- a/third_party/WebKit/Source/platform/heap/BlinkGCInterruptor.cpp
+++ b/third_party/WebKit/Source/platform/heap/BlinkGCInterruptor.cpp
@@ -11,8 +11,8 @@ namespace blink {
void BlinkGCInterruptor::onInterrupted() {
ThreadState* state = ThreadState::current();
- ASSERT(state);
- ASSERT(!state->isAtSafePoint());
+ DCHECK(state);
+ DCHECK(!state->isAtSafePoint());
state->safePoint(BlinkGC::HeapPointersOnStack);
}

Powered by Google App Engine
This is Rietveld 408576698