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

Unified Diff: Source/platform/LifecycleObserver.h

Issue 1146353002: Oilpan: insist on eager sweeping for some objects. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add some limited-lifetime comments Created 5 years, 7 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/core/frame/DOMWindowProperty.h ('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/LifecycleObserver.h
diff --git a/Source/platform/LifecycleObserver.h b/Source/platform/LifecycleObserver.h
index f1d6f788fce07a135cc5580d9878a3c79b5729a4..a36dc3f0e9567510087bc31db7d5e02d945ee0f5 100644
--- a/Source/platform/LifecycleObserver.h
+++ b/Source/platform/LifecycleObserver.h
@@ -44,10 +44,14 @@ public:
}
#endif
+ // TODO(Oilpan): remove eager sweeping once LifecycleObserver is
+ // always on the heap.
+ EAGERLY_SWEEP();
DEFINE_INLINE_VIRTUAL_TRACE()
{
visitor->trace(m_lifecycleContext);
}
+
virtual void contextDestroyed() { }
void dispose()
« no previous file with comments | « Source/core/frame/DOMWindowProperty.h ('k') | Source/platform/heap/Heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698