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

Unified Diff: Source/core/events/BeforeLoadEvent.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/BeforeLoadEvent.h
diff --git a/Source/core/events/BeforeLoadEvent.h b/Source/core/events/BeforeLoadEvent.h
index bc45513dd36c8189c95c6831a5b92b33fe9b8b3e..f605a7b8cbfbd49cd029ce9fde8af0806b686c36 100644
--- a/Source/core/events/BeforeLoadEvent.h
+++ b/Source/core/events/BeforeLoadEvent.h
@@ -43,19 +43,19 @@ struct BeforeLoadEventInit : public EventInit {
class BeforeLoadEvent FINAL : public Event {
public:
- static PassRefPtrWillBeRawPtr<BeforeLoadEvent> create()
+ static PassRefPtr<BeforeLoadEvent> create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new BeforeLoadEvent);
+ return adoptRef(new BeforeLoadEvent);
}
- static PassRefPtrWillBeRawPtr<BeforeLoadEvent> create(const String& url)
+ static PassRefPtr<BeforeLoadEvent> create(const String& url)
{
- return adoptRefWillBeRefCountedGarbageCollected(new BeforeLoadEvent(url));
+ return adoptRef(new BeforeLoadEvent(url));
}
- static PassRefPtrWillBeRawPtr<BeforeLoadEvent> create(const AtomicString& type, const BeforeLoadEventInit& initializer)
+ static PassRefPtr<BeforeLoadEvent> create(const AtomicString& type, const BeforeLoadEventInit& initializer)
{
- return adoptRefWillBeRefCountedGarbageCollected(new BeforeLoadEvent(type, initializer));
+ return adoptRef(new BeforeLoadEvent(type, initializer));
}
const String& url() const { return m_url; }

Powered by Google App Engine
This is Rietveld 408576698