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

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: rebase 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
« no previous file with comments | « Source/core/fileapi/FileReader.cpp ('k') | Source/core/frame/DOMWindow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/DOMWindow.h
diff --git a/Source/core/frame/DOMWindow.h b/Source/core/frame/DOMWindow.h
index ee64fed70611a02f7e4806e527cc026330185c2e..d172aad7ead7afbb71c392edc925e94476e64445 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();
« no previous file with comments | « Source/core/fileapi/FileReader.cpp ('k') | Source/core/frame/DOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698