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

Unified Diff: Source/platform/heap/Handle.h

Issue 1211243006: Oilpan: Replace checkHeader() with ASSERT(checkHeader()) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « Source/platform/heap/GCInfo.cpp ('k') | Source/platform/heap/Heap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Handle.h
diff --git a/Source/platform/heap/Handle.h b/Source/platform/heap/Handle.h
index 4fdc0a33c15aa274b4620aa9f0d21908943f0e6c..10aeace32db59e50b21e725505b4eed274530250 100644
--- a/Source/platform/heap/Handle.h
+++ b/Source/platform/heap/Handle.h
@@ -792,7 +792,7 @@ protected:
// but we cannot call it here because it requres to include T.h.
// So we currently implement only the check for (a).
if (!IsGarbageCollectedMixin<T>::value)
- HeapObjectHeader::fromPayload(m_raw)->checkHeader();
+ ASSERT(HeapObjectHeader::fromPayload(m_raw)->checkHeader());
#endif
}
« no previous file with comments | « Source/platform/heap/GCInfo.cpp ('k') | Source/platform/heap/Heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698