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

Unified Diff: Source/core/events/ProgressEvent.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/ProgressEvent.h
diff --git a/Source/core/events/ProgressEvent.h b/Source/core/events/ProgressEvent.h
index a69945d104c5b1ed4a2ea93961f3de0bf76ba00f..337a9a89c4d37386ea3ddb2b899abff2b7462f53 100644
--- a/Source/core/events/ProgressEvent.h
+++ b/Source/core/events/ProgressEvent.h
@@ -40,17 +40,17 @@ struct ProgressEventInit : public EventInit {
class ProgressEvent : public Event {
public:
- static PassRefPtrWillBeRawPtr<ProgressEvent> create()
+ static PassRefPtr<ProgressEvent> create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new ProgressEvent);
+ return adoptRef(new ProgressEvent);
}
- static PassRefPtrWillBeRawPtr<ProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total)
+ static PassRefPtr<ProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total)
{
- return adoptRefWillBeRefCountedGarbageCollected(new ProgressEvent(type, lengthComputable, loaded, total));
+ return adoptRef(new ProgressEvent(type, lengthComputable, loaded, total));
}
- static PassRefPtrWillBeRawPtr<ProgressEvent> create(const AtomicString& type, const ProgressEventInit& initializer)
+ static PassRefPtr<ProgressEvent> create(const AtomicString& type, const ProgressEventInit& initializer)
{
- return adoptRefWillBeRefCountedGarbageCollected(new ProgressEvent(type, initializer));
+ return adoptRef(new ProgressEvent(type, initializer));
}
bool lengthComputable() const { return m_lengthComputable; }

Powered by Google App Engine
This is Rietveld 408576698