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

Unified Diff: Source/core/events/BeforeUnloadEvent.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/BeforeUnloadEvent.h
diff --git a/Source/core/events/BeforeUnloadEvent.h b/Source/core/events/BeforeUnloadEvent.h
index 2fe18c03f9baaf93438f5b74ff65bd9626709ceb..460ea13930576c2c275e17bb05d15d882b7d4dae 100644
--- a/Source/core/events/BeforeUnloadEvent.h
+++ b/Source/core/events/BeforeUnloadEvent.h
@@ -34,9 +34,9 @@ class BeforeUnloadEvent FINAL : public Event {
public:
virtual ~BeforeUnloadEvent();
- static PassRefPtrWillBeRawPtr<BeforeUnloadEvent> create()
+ static PassRefPtr<BeforeUnloadEvent> create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new BeforeUnloadEvent);
+ return adoptRef(new BeforeUnloadEvent);
}
virtual bool isBeforeUnloadEvent() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698