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

Unified Diff: third_party/WebKit/Source/platform/heap/ThreadState.h

Issue 1884083002: Revert of Rename Heap to ThreadHeap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/ThreadState.h
diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.h b/third_party/WebKit/Source/platform/heap/ThreadState.h
index 7c2d093e0b64c0e2e77d8b77f1f3a53c112be567..6d3bd0a7d0a3e62ecad62489ccb30a7c70f8ea5b 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.h
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.h
@@ -106,7 +106,7 @@
static bool invokePreFinalizer(void* object) \
{ \
Class* self = reinterpret_cast<Class*>(object); \
- if (ThreadHeap::isHeapObjectAlive(self)) \
+ if (Heap::isHeapObjectAlive(self)) \
return false; \
self->Class::preFinalizer(); \
return true; \
@@ -255,7 +255,7 @@
//
// 1) All threads park at safe points.
// 2) The GCing thread calls preGC() for all ThreadStates.
- // 3) The GCing thread calls ThreadHeap::collectGarbage().
+ // 3) The GCing thread calls Heap::collectGarbage().
// This does marking but doesn't do sweeping.
// 4) The GCing thread calls postGC() for all ThreadStates.
// 5) The GCing thread resume all threads.
« no previous file with comments | « third_party/WebKit/Source/platform/heap/RunAllTests.cpp ('k') | third_party/WebKit/Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698