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

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

Issue 2604403002: Add missing HeapCompact DCHECK(). (Closed)
Patch Set: Created 3 years, 12 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/heap/HeapCompact.cpp
diff --git a/third_party/WebKit/Source/platform/heap/HeapCompact.cpp b/third_party/WebKit/Source/platform/heap/HeapCompact.cpp
index 24d47af4b5e89346a2f177e7861e04b407dcd734..4a0498193d22c150ed984022a16afd347a35f568 100644
--- a/third_party/WebKit/Source/platform/heap/HeapCompact.cpp
+++ b/third_party/WebKit/Source/platform/heap/HeapCompact.cpp
@@ -87,7 +87,7 @@ class HeapCompact::MovableObjectFixups final {
if (LIKELY(!m_relocatablePages.contains(slotPage)))
return;
#if ENABLE(ASSERT)
- slotPage->contains(slotAddress);
+ DCHECK(slotPage->contains(slotAddress));
#endif
// Unlikely case, the slot resides on a compacting arena's page.
// => It is an 'interior slot' (interior to a movable backing store.)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698