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

Unified Diff: Source/core/events/PageTransitionEvent.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/PageTransitionEvent.h
diff --git a/Source/core/events/PageTransitionEvent.h b/Source/core/events/PageTransitionEvent.h
index a33262a87ab2b3f5d96e7298dd86949399c859b5..f249292a84b8d3a45aec6fc401eb52be2ae164f0 100644
--- a/Source/core/events/PageTransitionEvent.h
+++ b/Source/core/events/PageTransitionEvent.h
@@ -38,17 +38,17 @@ struct PageTransitionEventInit : public EventInit {
class PageTransitionEvent FINAL : public Event {
public:
- static PassRefPtrWillBeRawPtr<PageTransitionEvent> create()
+ static PassRefPtr<PageTransitionEvent> create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new PageTransitionEvent);
+ return adoptRef(new PageTransitionEvent);
}
- static PassRefPtrWillBeRawPtr<PageTransitionEvent> create(const AtomicString& type, bool persisted)
+ static PassRefPtr<PageTransitionEvent> create(const AtomicString& type, bool persisted)
{
- return adoptRefWillBeRefCountedGarbageCollected(new PageTransitionEvent(type, persisted));
+ return adoptRef(new PageTransitionEvent(type, persisted));
}
- static PassRefPtrWillBeRawPtr<PageTransitionEvent> create(const AtomicString& type, const PageTransitionEventInit& initializer)
+ static PassRefPtr<PageTransitionEvent> create(const AtomicString& type, const PageTransitionEventInit& initializer)
{
- return adoptRefWillBeRefCountedGarbageCollected(new PageTransitionEvent(type, initializer));
+ return adoptRef(new PageTransitionEvent(type, initializer));
}
virtual ~PageTransitionEvent();

Powered by Google App Engine
This is Rietveld 408576698