Chromium Code Reviews| Index: third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp |
| diff --git a/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp b/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp |
| index 532a7633f160028a5f63c3db1a71e933c4591efb..ce33e557710c403eba632adfeb1341085a97cac8 100644 |
| --- a/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp |
| +++ b/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp |
| @@ -328,7 +328,7 @@ bool getBigInteger(const Dictionary& raw, const char* propertyName, RefPtr<DOMUi |
| if (!array->byteLength()) { |
| // Empty BigIntegers represent 0 according to the spec |
| - array = DOMUint8Array::create(1); |
| + array = DOMUint8Array::deprecatedCreateOrCrash(0, 0); |
|
haraken
2015/10/29 18:58:37
Shouldn't this be deprecatedCreateOrCrash(nullptr,
Justin Novosad
2015/11/05 00:17:52
Done.
|
| } |
| return true; |