| Index: third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp b/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
|
| index 24cb6e608abb890ee5182883145eb4c23b983bb8..1470c22e5cc0b10c3501dd66f8bdfc9c935e215f 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
|
| @@ -904,7 +904,10 @@ void removeHiddenValueFromArray(v8::Isolate* isolate, v8::Local<v8::Object> obje
|
| if (!array->Get(isolate->GetCurrentContext(), i).ToLocal(&item))
|
| return;
|
| if (item->StrictEquals(value)) {
|
| - array->Delete(isolate->GetCurrentContext(), i);
|
| + if (array->Delete(isolate->GetCurrentContext(), i).IsNothing()) {
|
| + // TODO: Not sure if this should be logged or an error thrown or
|
| + // if it is fine to just return
|
| + }
|
| return;
|
| }
|
| }
|
|
|