Index: Source/modules/serviceworkers/FetchBodyStream.h |
diff --git a/Source/modules/serviceworkers/FetchBodyStream.h b/Source/modules/serviceworkers/FetchBodyStream.h |
index a37a19b907aa6088ee37e137ffcd7a9f154fb825..37afa229a21ddd67aa464b14397e4ab269294259 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 { |
@@ -35,7 +34,7 @@ public: |
ResponseAsText |
}; |
- static PassRefPtrWillBeRawPtr<FetchBodyStream> create(ExecutionContext*, PassRefPtr<BlobDataHandle>); |
+ static FetchBodyStream* create(ExecutionContext*, PassRefPtr<BlobDataHandle>); |
ScriptPromise asArrayBuffer(ScriptState*); |
ScriptPromise asBlob(ScriptState*); |