Index: Source/modules/serviceworkers/FetchBodyStream.h |
diff --git a/Source/modules/serviceworkers/FetchBodyStream.h b/Source/modules/serviceworkers/FetchBodyStream.h |
index a86d4b64744929b8086d7e165abf5039c5817599..13c0f494882bbfcd9f7ad434cef324fad75264e8 100644 |
--- a/Source/modules/serviceworkers/FetchBodyStream.h |
+++ b/Source/modules/serviceworkers/FetchBodyStream.h |
@@ -13,7 +13,6 @@ |
#include "core/fileapi/FileReaderLoaderClient.h" |
#include "platform/blob/BlobData.h" |
#include "platform/heap/Handle.h" |
-#include "wtf/RefCounted.h" |
#include "wtf/RefPtr.h" |
namespace blink { |
@@ -21,7 +20,7 @@ namespace blink { |
class ScriptState; |
class FetchBodyStream FINAL |
- : public RefCountedWillBeGarbageCollectedFinalized<FetchBodyStream> |
+ : public GarbageCollectedFinalized<FetchBodyStream> |
, public ScriptWrappable |
, public ActiveDOMObject |
, public FileReaderLoaderClient { |
@@ -34,7 +33,7 @@ public: |
ResponseAsText |
}; |
- static PassRefPtrWillBeRawPtr<FetchBodyStream> create(ExecutionContext*, PassRefPtr<BlobDataHandle>); |
+ static FetchBodyStream* create(ExecutionContext*, PassRefPtr<BlobDataHandle>); |
~FetchBodyStream() { } |
ScriptPromise asArrayBuffer(ScriptState*); |