Index: third_party/WebKit/Source/modules/fetch/Body.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/Body.cpp b/third_party/WebKit/Source/modules/fetch/Body.cpp |
index 8170144816e622f3497c6149625fd4ecb6905616..021b67f3db84eb42ccaae2c0d559215a5208a2fe 100644 |
--- a/third_party/WebKit/Source/modules/fetch/Body.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/Body.cpp |
@@ -124,7 +124,7 @@ ScriptPromise Body::arrayBuffer(ScriptState* scriptState) |
if (bodyBuffer()) { |
bodyBuffer()->startLoading(scriptState->executionContext(), FetchDataLoader::createLoaderAsArrayBuffer(), new BodyArrayBufferConsumer(resolver)); |
} else { |
- resolver->resolve(DOMArrayBuffer::create(0u, 1)); |
+ resolver->resolve(DOMArrayBuffer::deprecatedCreateOrCrash(nullptr, 1)); |
} |
return promise; |
} |