Index: third_party/WebKit/Source/wtf/ArrayBuffer.cpp |
diff --git a/third_party/WebKit/Source/wtf/ArrayBuffer.cpp b/third_party/WebKit/Source/wtf/ArrayBuffer.cpp |
index 21eafab9d65bc3465a270e27e2043dd9c6b16a67..807b68ca5d68403287182b54ef8edba158acf01a 100644 |
--- a/third_party/WebKit/Source/wtf/ArrayBuffer.cpp |
+++ b/third_party/WebKit/Source/wtf/ArrayBuffer.cpp |
@@ -50,7 +50,7 @@ bool ArrayBuffer::transfer(ArrayBufferContents& result) |
if (allViewsAreNeuterable) { |
m_contents.transfer(result); |
} else { |
- m_contents.copyTo(result); |
+ m_contents.copyTo(result, ArrayBufferContents::NullDataIfOutOfMemory); |
if (!result.data()) |
return false; |
} |