Index: third_party/WebKit/Source/wtf/ArrayBufferBuilder.h |
diff --git a/third_party/WebKit/Source/wtf/ArrayBufferBuilder.h b/third_party/WebKit/Source/wtf/ArrayBufferBuilder.h |
index 38b285a0bf02dbec54bda02d7985b31e80899bda..f294a732c4e093994334cc04a327b94d02ac21e5 100644 |
--- a/third_party/WebKit/Source/wtf/ArrayBufferBuilder.h |
+++ b/third_party/WebKit/Source/wtf/ArrayBufferBuilder.h |
@@ -53,7 +53,7 @@ public: |
: m_bytesUsed(0) |
, m_variableCapacity(true) |
{ |
- m_buffer = ArrayBuffer::create(capacity, 1); |
+ m_buffer = ArrayBuffer::createOrNull(capacity, 1); |
} |
bool isValid() const |