Index: content/browser/indexed_db/indexed_db_callbacks_wrapper.cc |
diff --git a/content/browser/indexed_db/indexed_db_callbacks_wrapper.cc b/content/browser/indexed_db/indexed_db_callbacks_wrapper.cc |
index 3baea3e04934925969a28f499922305015680a29..6cb5a7bc28b632c3085cb4bbbef39ce13c3420de 100644 |
--- a/content/browser/indexed_db/indexed_db_callbacks_wrapper.cc |
+++ b/content/browser/indexed_db/indexed_db_callbacks_wrapper.cc |
@@ -114,13 +114,15 @@ void IndexedDBCallbacksWrapper::OnBlocked(int64 existing_version) { |
void IndexedDBCallbacksWrapper::OnUpgradeNeeded( |
int64 old_version, |
scoped_refptr<IndexedDBDatabase> database, |
- const IndexedDBDatabaseMetadata& metadata) { |
+ const IndexedDBDatabaseMetadata& metadata, |
+ bool data_loss) { |
DCHECK(callbacks_); |
did_create_proxy_ = true; |
callbacks_->onUpgradeNeeded( |
old_version, |
new WebIDBDatabaseImpl(database, database_callbacks_), |
- metadata); |
+ metadata, |
+ data_loss); |
database_callbacks_ = NULL; |
} |