Index: Source/modules/serviceworkers/Body.cpp |
diff --git a/Source/modules/serviceworkers/Body.cpp b/Source/modules/serviceworkers/Body.cpp |
index 82c05976a82d11106d66fddc68b8dd4bbde38434..07a7aca7e52b4652872fa0a4ccd8b3170f2e01d3 100644 |
--- a/Source/modules/serviceworkers/Body.cpp |
+++ b/Source/modules/serviceworkers/Body.cpp |
@@ -18,7 +18,7 @@ namespace blink { |
ScriptPromise Body::readAsync(ScriptState* scriptState, ResponseType type) |
{ |
if (m_bodyUsed) |
- return ScriptPromise::reject(scriptState, V8ThrowException::createTypeError("Already read", scriptState->isolate())); |
+ return ScriptPromise::reject(scriptState, V8ThrowException::createTypeError(scriptState->isolate(), "Already read")); |
// When the main thread sends a V8::TerminateExecution() signal to a worker |
// thread, any V8 API on the worker thread starts returning an empty |