Index: Source/modules/indexeddb/IDBCursor.cpp |
diff --git a/Source/modules/indexeddb/IDBCursor.cpp b/Source/modules/indexeddb/IDBCursor.cpp |
index 2c79769e2c5c8e740c3c4d81c89478a4597834ac..a491357e3e771aa99333e3989c287938fc32398b 100644 |
--- a/Source/modules/indexeddb/IDBCursor.cpp |
+++ b/Source/modules/indexeddb/IDBCursor.cpp |
@@ -392,7 +392,7 @@ void IDBCursor::handleBlobAcks() |
blink::WebIDBCursorDirection IDBCursor::stringToDirection(const String& directionString, ExceptionState& exceptionState) |
{ |
- if (directionString.isNull() || directionString == IDBCursor::directionNext()) |
+ if (directionString == IDBCursor::directionNext()) |
return blink::WebIDBCursorDirectionNext; |
if (directionString == IDBCursor::directionNextUnique()) |
return blink::WebIDBCursorDirectionNextNoDuplicate; |