Index: Source/modules/serviceworkers/FetchBodyStream.h |
diff --git a/Source/modules/serviceworkers/FetchBodyStream.h b/Source/modules/serviceworkers/FetchBodyStream.h |
index 410e5d90d7ce00d6259ae701a86cc5bffc9f3132..f7dee2a325dc959f3dcd46d1ab85b9bac3bbfc70 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>); |
ScriptPromise asArrayBuffer(ScriptState*); |
ScriptPromise asBlob(ScriptState*); |