| Index: content/browser/indexed_db/indexed_db_factory.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_factory.cc b/content/browser/indexed_db/indexed_db_factory.cc
|
| index fb46b8f2c13db55737bc6e617d90f52415f67b13..4dce7b13bb9c243326d5ede8be22a71edbad5e5a 100644
|
| --- a/content/browser/indexed_db/indexed_db_factory.cc
|
| +++ b/content/browser/indexed_db/indexed_db_factory.cc
|
| @@ -316,12 +316,11 @@ void IndexedDBFactory::Open(
|
| database = it->second;
|
| }
|
|
|
| - database->OpenConnection(callbacks,
|
| - database_callbacks,
|
| - transaction_id,
|
| - version,
|
| - data_loss,
|
| - data_loss_message);
|
| + if (data_loss != blink::WebIDBDataLossNone)
|
| + callbacks->OnDataLoss(data_loss, data_loss_message);
|
| +
|
| + database->OpenConnection(
|
| + callbacks, database_callbacks, transaction_id, version);
|
|
|
| if (!was_open && database->ConnectionCount() > 0)
|
| database_map_[unique_identifier] = database;
|
|
|