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

Unified Diff: Source/core/xml/XMLHttpRequestProgressEvent.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/xml/XMLHttpRequestProgressEvent.h
diff --git a/Source/core/xml/XMLHttpRequestProgressEvent.h b/Source/core/xml/XMLHttpRequestProgressEvent.h
index 5b367070486635886d79b0c0ea88f3ac9764028a..5e7aa4608ca6df92ce794c732bf0d2468d7eb171 100644
--- a/Source/core/xml/XMLHttpRequestProgressEvent.h
+++ b/Source/core/xml/XMLHttpRequestProgressEvent.h
@@ -34,13 +34,13 @@ namespace WebCore {
class XMLHttpRequestProgressEvent FINAL : public ProgressEvent {
public:
- static PassRefPtrWillBeRawPtr<XMLHttpRequestProgressEvent> create()
+ static PassRefPtr<XMLHttpRequestProgressEvent> create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new XMLHttpRequestProgressEvent);
+ return adoptRef(new XMLHttpRequestProgressEvent);
}
- static PassRefPtrWillBeRawPtr<XMLHttpRequestProgressEvent> create(const AtomicString& type, bool lengthComputable = false, unsigned long long loaded = 0, unsigned long long total = 0)
+ static PassRefPtr<XMLHttpRequestProgressEvent> create(const AtomicString& type, bool lengthComputable = false, unsigned long long loaded = 0, unsigned long long total = 0)
{
- return adoptRefWillBeRefCountedGarbageCollected(new XMLHttpRequestProgressEvent(type, lengthComputable, loaded, total));
+ return adoptRef(new XMLHttpRequestProgressEvent(type, lengthComputable, loaded, total));
}
// Those 2 synonyms are included for compatibility with Firefox.

Powered by Google App Engine
This is Rietveld 408576698