Index: content/child/indexed_db/indexed_db_dispatcher.cc |
diff --git a/content/child/indexed_db/indexed_db_dispatcher.cc b/content/child/indexed_db/indexed_db_dispatcher.cc |
index 6d35412f735cf9f432d1a64fb1f85fb26ee3d213..28847591e3a7419469b5976f70d077d936f829d8 100644 |
--- a/content/child/indexed_db/indexed_db_dispatcher.cc |
+++ b/content/child/indexed_db/indexed_db_dispatcher.cc |
@@ -637,7 +637,10 @@ void IndexedDBDispatcher::OnUpgradeNeeded( |
databases_[p.ipc_database_id] = new RendererWebIDBDatabaseImpl( |
p.ipc_database_id, p.ipc_database_callbacks_id); |
callbacks->onUpgradeNeeded( |
- p.old_version, databases_[p.ipc_database_id], metadata); |
+ p.old_version, |
+ databases_[p.ipc_database_id], |
+ metadata, |
+ static_cast<WebIDBCallbacks::DataLoss>(p.data_loss)); |
} |
void IndexedDBDispatcher::OnError(int32 ipc_thread_id, |