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

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

Issue 2640963007: [wrapper-tracing] Remove flag and object grouping entry points (Closed)
Patch Set: Fix merge artifact 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
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | 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/ThreadState.cpp
diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.cpp b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
index d9cf18fc6c2df33ef752494f5c274cc5c43534a2..d9a2d6791e32e59e91a64cde123bb11fdb2bb1c2 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
@@ -986,8 +986,7 @@ void ThreadState::makeConsistentForMutator() {
}
void ThreadState::preGC() {
- if (RuntimeEnabledFeatures::traceWrappablesEnabled() && m_isolate &&
- m_performCleanup)
+ if (m_isolate && m_performCleanup)
m_performCleanup(m_isolate);
ASSERT(!isInGC());
@@ -1014,10 +1013,8 @@ void ThreadState::preGC() {
}
void ThreadState::postGC(BlinkGC::GCType gcType) {
- if (RuntimeEnabledFeatures::traceWrappablesEnabled() &&
- m_invalidateDeadObjectsInWrappersMarkingDeque) {
+ if (m_invalidateDeadObjectsInWrappersMarkingDeque)
m_invalidateDeadObjectsInWrappersMarkingDeque(m_isolate);
- }
ASSERT(isInGC());
for (int i = 0; i < BlinkGC::NumberOfArenas; i++)
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698