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

Unified Diff: Source/core/events/ClipboardEvent.h

Issue 181153003: Make Event RefCountedGarbageCollected and implement trace() methods to the Event hierarcy (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/events/ClipboardEvent.h
diff --git a/Source/core/events/ClipboardEvent.h b/Source/core/events/ClipboardEvent.h
index d792df1d67061ecca399961d795db728ea1b9b24..66ae9c8e773fa96cd58673d4df201df8bfee0ef1 100644
--- a/Source/core/events/ClipboardEvent.h
+++ b/Source/core/events/ClipboardEvent.h
@@ -41,6 +41,8 @@ namespace WebCore {
Clipboard* clipboard() const { return m_clipboard.get(); }
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
ClipboardEvent();
ClipboardEvent(const AtomicString& type, bool canBubbleArg, bool cancelableArg, PassRefPtrWillBeRawPtr<Clipboard>);
@@ -48,7 +50,7 @@ namespace WebCore {
virtual const AtomicString& interfaceName() const OVERRIDE;
virtual bool isClipboardEvent() const OVERRIDE;
- RefPtrWillBePersistent<Clipboard> m_clipboard;
+ RefPtrWillBeMember<Clipboard> m_clipboard;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698