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

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

Issue 1162403003: Oilpan: Remove checkMarkingAllowed (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/MarkingVisitor.h ('k') | Source/platform/heap/Visitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/MarkingVisitorImpl.h
diff --git a/Source/platform/heap/MarkingVisitorImpl.h b/Source/platform/heap/MarkingVisitorImpl.h
index dd869fed5ffac1399cac675e10ead12144aa6f41..c3307e9ded759182d1e622db263c07ced0afd200 100644
--- a/Source/platform/heap/MarkingVisitorImpl.h
+++ b/Source/platform/heap/MarkingVisitorImpl.h
@@ -39,7 +39,7 @@ protected:
return;
#if ENABLE(ASSERT)
- toDerived()->checkMarkingAllowed();
+ ASSERT(ThreadState::current()->isInGC());
ASSERT(Heap::findPageFromAddress(header));
#endif
header->mark();
« no previous file with comments | « Source/platform/heap/MarkingVisitor.h ('k') | Source/platform/heap/Visitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698