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

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

Issue 307433003: Oilpan: Allocate all EventTarget derived types on the manged heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
Index: Source/core/frame/DOMWindow.h
diff --git a/Source/core/frame/DOMWindow.h b/Source/core/frame/DOMWindow.h
index e69e46f06b64e250d98dd15bb7234ea84c671bf8..37da790812b9129dde046e5f1214b9cc6ec4dab7 100644
--- a/Source/core/frame/DOMWindow.h
+++ b/Source/core/frame/DOMWindow.h
@@ -94,7 +94,7 @@ enum PageshowEventPersistence {
class DOMWindow FINAL : public RefCountedWillBeRefCountedGarbageCollected<DOMWindow>, public ScriptWrappable, public EventTargetWithInlineData, public DOMWindowBase64, public FrameDestructionObserver, public WillBeHeapSupplementable<DOMWindow>, public LifecycleContext<DOMWindow> {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindow);
- DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<DOMWindow>);
+ REFCOUNTED_EVENT_TARGET(DOMWindow);
public:
static PassRefPtrWillBeRawPtr<Document> createDocument(const String& mimeType, const DocumentInit&, bool forceXHTML);
static PassRefPtrWillBeRawPtr<DOMWindow> create(LocalFrame& frame)
@@ -326,7 +326,7 @@ enum PageshowEventPersistence {
// FIXME: This shouldn't be public once DOMWindow becomes ExecutionContext.
void clearEventQueue();
- void trace(Visitor*);
+ virtual void trace(Visitor*) OVERRIDE;
protected:
DOMWindowLifecycleNotifier& lifecycleNotifier();

Powered by Google App Engine
This is Rietveld 408576698