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

Unified Diff: Source/core/events/ResourceProgressEvent.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/ResourceProgressEvent.h
diff --git a/Source/core/events/ResourceProgressEvent.h b/Source/core/events/ResourceProgressEvent.h
index a0ec9f4e150a515aad525132848f55ffda35c119..596baf13b05c58d5b8facc99a094ad9c210d0b5f 100644
--- a/Source/core/events/ResourceProgressEvent.h
+++ b/Source/core/events/ResourceProgressEvent.h
@@ -44,13 +44,13 @@ namespace WebCore {
// EventInit pattern for Event construction.
class ResourceProgressEvent FINAL : public ProgressEvent {
public:
- static PassRefPtrWillBeRawPtr<ResourceProgressEvent> create()
+ static PassRefPtr<ResourceProgressEvent> create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new ResourceProgressEvent);
+ return adoptRef(new ResourceProgressEvent);
}
- static PassRefPtrWillBeRawPtr<ResourceProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total, const String& url)
+ static PassRefPtr<ResourceProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total, const String& url)
{
- return adoptRefWillBeRefCountedGarbageCollected(new ResourceProgressEvent(type, lengthComputable, loaded, total, url));
+ return adoptRef(new ResourceProgressEvent(type, lengthComputable, loaded, total, url));
}
const String& url() const;

Powered by Google App Engine
This is Rietveld 408576698