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

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

Issue 337343002: IDL: make optional arguments (without default) explicit sometimes Base URL: https://chromium.googlesource.com/chromium/blink.git@idl-default-arguments-next
Patch Set: Created 6 years, 4 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') | Source/modules/mediastream/RTCDTMFSender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
diff --git a/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp b/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
index 662138c74e11145f9fb54343861fc224d4a191ae..0dc1cde33fc9be5f60775717dc2f35d3fc9d0cea 100644
--- a/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
+++ b/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
@@ -193,7 +193,7 @@ void ExecutableWithDatabase::start(IDBFactory* idbFactory, SecurityOrigin*, cons
{
RefPtr<OpenDatabaseCallback> callback = OpenDatabaseCallback::create(this);
TrackExceptionState exceptionState;
- IDBOpenDBRequest* idbOpenDBRequest = idbFactory->open(scriptState(), databaseName, exceptionState);
+ IDBOpenDBRequest* idbOpenDBRequest = idbFactory->open(scriptState(), databaseName, makeOptional(IDBDatabaseMetadata::NoIntVersion), exceptionState);
if (exceptionState.hadException()) {
requestCallback()->sendFailure("Could not open database.");
return;
« no previous file with comments | « Source/modules/indexeddb/IDBObjectStore.idl ('k') | Source/modules/mediastream/RTCDTMFSender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698