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

Unified Diff: Source/modules/indexeddb/IDBTransaction.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 | « Source/modules/indexeddb/IDBObjectStore.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBTransaction.cpp
diff --git a/Source/modules/indexeddb/IDBTransaction.cpp b/Source/modules/indexeddb/IDBTransaction.cpp
index 2f8ee47fc7c5e7ab304d13f45c7fdc3e3b4eefde..564540ce90358b69b73190855f79284609c30d7a 100644
--- a/Source/modules/indexeddb/IDBTransaction.cpp
+++ b/Source/modules/indexeddb/IDBTransaction.cpp
@@ -301,8 +301,7 @@ bool IDBTransaction::hasPendingActivity() const
blink::WebIDBTransactionMode IDBTransaction::stringToMode(const String& modeString, ExceptionState& exceptionState)
{
- if (modeString.isNull()
- || modeString == IDBTransaction::modeReadOnly())
+ if (modeString == IDBTransaction::modeReadOnly())
return blink::WebIDBTransactionModeReadOnly;
if (modeString == IDBTransaction::modeReadWrite())
return blink::WebIDBTransactionModeReadWrite;
« no previous file with comments | « Source/modules/indexeddb/IDBObjectStore.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698