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 9724bfd051b8b81df2b6ed5f5d4d0565e50a8729..8e53b1c1bc77ee9e938a3d3f9c801da7991b589f 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, |