Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / xml / XMLHttpRequestProgressEvent.h
index 30fbaac..58696cf 100644 (file)
@@ -35,11 +35,11 @@ class XMLHttpRequestProgressEvent FINAL : public ProgressEvent {
 public:
     static PassRefPtrWillBeRawPtr<XMLHttpRequestProgressEvent> create()
     {
-        return adoptRefWillBeRefCountedGarbageCollected(new XMLHttpRequestProgressEvent);
+        return adoptRefWillBeNoop(new XMLHttpRequestProgressEvent);
     }
     static PassRefPtrWillBeRawPtr<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 adoptRefWillBeNoop(new XMLHttpRequestProgressEvent(type, lengthComputable, loaded, total));
     }
 
     // Those 2 synonyms are included for compatibility with Firefox.