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 aa8877c95d1639df5c10f447eaa832765ef66e77..3eb6bba143634e02c448adf34cf41da9b72b1202 100644 |
--- a/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp |
+++ b/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp |
@@ -312,7 +312,7 @@ static IDBKey* createIDBKeyFromValueAndKeyPath(v8::Isolate* isolate, v8::Local<v |
static v8::Local<v8::Value> deserializeIDBValueData(v8::Isolate* isolate, const IDBValue* value) |
{ |
ASSERT(isolate->InContext()); |
- if (!value || value->isNull()) |
+ if (value->isNull()) |
return v8::Null(isolate); |
const SharedBuffer* valueData = value->data(); |
@@ -324,7 +324,7 @@ static v8::Local<v8::Value> deserializeIDBValueData(v8::Isolate* isolate, const |
static v8::Local<v8::Value> deserializeIDBValue(v8::Isolate* isolate, v8::Local<v8::Object> creationContext, const IDBValue* value) |
{ |
ASSERT(isolate->InContext()); |
- if (!value || value->isNull()) |
+ if (value->isNull()) |
return v8::Null(isolate); |
v8::Local<v8::Value> v8Value = deserializeIDBValueData(isolate, value); |