Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1653)

Unified Diff: Source/modules/indexeddb/IDBCursor.cpp

Issue 332613004: Use IDL argument default values in modules/indexeddb/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/modules/indexeddb/IDBDatabase.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | Source/modules/indexeddb/IDBDatabase.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698