Index: Source/core/streams/ReadableStreamReader.cpp |
diff --git a/Source/core/streams/ReadableStreamReader.cpp b/Source/core/streams/ReadableStreamReader.cpp |
index 81f4f863c5d47bde2ff69c96f5298838a4f1cf72..5f7912d26821451de70959d847d2d1fb0e9c6676 100644 |
--- a/Source/core/streams/ReadableStreamReader.cpp |
+++ b/Source/core/streams/ReadableStreamReader.cpp |
@@ -52,7 +52,7 @@ ScriptPromise ReadableStreamReader::cancel(ScriptState* scriptState, ScriptValue |
return m_stream->cancelInternal(scriptState, reason); |
// A method should return a different promise on each call. |
- RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); |
+ ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |
ScriptPromise promise = resolver->promise(); |
resolver->resolve(closed(scriptState).v8Value()); |
return promise; |
@@ -67,7 +67,7 @@ ScriptPromise ReadableStreamReader::read(ScriptState* scriptState) |
return ScriptPromise::cast(scriptState, v8IteratorResultDone(scriptState)); |
} |
// A method should return a different promise on each call. |
- RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); |
+ ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |
ScriptPromise promise = resolver->promise(); |
resolver->resolve(closed(scriptState).v8Value()); |
return promise; |