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

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

Issue 185393006: Revert "Add [WillBeGarbageCollected] to Event.idl" (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 d32db9f02acc17808ed694b469cbd471876a1811..66ae9c8e773fa96cd58673d4df201df8bfee0ef1 100644
--- a/Source/core/events/ClipboardEvent.h
+++ b/Source/core/events/ClipboardEvent.h
@@ -34,9 +34,9 @@ namespace WebCore {
public:
virtual ~ClipboardEvent();
- static PassRefPtrWillBeRawPtr<ClipboardEvent> create(const AtomicString& type, bool canBubbleArg, bool cancelableArg, PassRefPtrWillBeRawPtr<Clipboard> clipboardArg)
+ static PassRefPtr<ClipboardEvent> create(const AtomicString& type, bool canBubbleArg, bool cancelableArg, PassRefPtrWillBeRawPtr<Clipboard> clipboardArg)
{
- return adoptRefWillBeRefCountedGarbageCollected(new ClipboardEvent(type, canBubbleArg, cancelableArg, clipboardArg));
+ return adoptRef(new ClipboardEvent(type, canBubbleArg, cancelableArg, clipboardArg));
}
Clipboard* clipboard() const { return m_clipboard.get(); }

Powered by Google App Engine
This is Rietveld 408576698