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

Unified Diff: Source/core/frame/DOMWindowProperty.h

Issue 1146353002: Oilpan: insist on eager sweeping for some objects. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | « no previous file | Source/platform/LifecycleObserver.h » ('j') | Source/platform/heap/Heap.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/DOMWindowProperty.h
diff --git a/Source/core/frame/DOMWindowProperty.h b/Source/core/frame/DOMWindowProperty.h
index dcb12e57328543041f093eaca020f58fbd9ebd59..3a7d8289196f69810c17655a95d91559e7e40811 100644
--- a/Source/core/frame/DOMWindowProperty.h
+++ b/Source/core/frame/DOMWindowProperty.h
@@ -27,6 +27,10 @@
#define DOMWindowProperty_h
#include "core/CoreExport.h"
+// TODO(Oilpan): remove the include when the EAGERLY_SWEEP_IF() usage
+// below is dropped as part of making DOMWindowProperty instances
+// always be on the heap.
+#include "platform/LifecycleObserver.h"
#include "platform/heap/Handle.h"
namespace blink {
@@ -60,6 +64,8 @@ private:
#endif
};
+EAGERLY_SWEEP_IF_NOT(DOMWindowProperty, LifecycleObserver);
+
} // namespace blink
#endif
« no previous file with comments | « no previous file | Source/platform/LifecycleObserver.h » ('j') | Source/platform/heap/Heap.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698