| Index: third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp b/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp
|
| index 7fca51f6c644ccbc7cb73912a57040860124563c..efb5caf62133fd41d0df36f78d4ebe3c15c2482e 100644
|
| --- a/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp
|
| +++ b/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp
|
| @@ -113,8 +113,6 @@ v8::Local<v8::Value> toV8(const IDBKey* key, v8::Local<v8::Object> creationConte
|
| v8::Local<v8::Array> array = v8::Array::New(isolate, key->array().size());
|
| for (size_t i = 0; i < key->array().size(); ++i) {
|
| v8::Local<v8::Value> value = toV8(key->array()[i].get(), creationContext, isolate);
|
| - if (value.IsEmpty())
|
| - value = v8::Undefined(isolate);
|
| if (!v8CallBoolean(array->CreateDataProperty(context, i, value)))
|
| return v8Undefined();
|
| }
|
| @@ -337,8 +335,6 @@ static v8::Local<v8::Value> deserializeIDBValue(v8::Isolate* isolate, v8::Local<
|
| v8::Local<v8::Value> v8Value = deserializeIDBValueData(isolate, value);
|
| if (value->primaryKey()) {
|
| v8::Local<v8::Value> key = toV8(value->primaryKey(), creationContext, isolate);
|
| - if (key.IsEmpty())
|
| - return v8::Local<v8::Value>();
|
| bool injected = injectV8KeyIntoV8Value(isolate, key, v8Value, value->keyPath());
|
| ASSERT_UNUSED(injected, injected);
|
| }
|
|
|