Chromium Code Reviews| Index: content/browser/indexed_db/indexed_db_database.cc |
| diff --git a/content/browser/indexed_db/indexed_db_database.cc b/content/browser/indexed_db/indexed_db_database.cc |
| index dfc0d2c046c0dc34b6eea9517f934483ced9935e..446aef9aff8984a42f7db06dac8495bd0b20d370 100644 |
| --- a/content/browser/indexed_db/indexed_db_database.cc |
| +++ b/content/browser/indexed_db/indexed_db_database.cc |
| @@ -85,22 +85,18 @@ class IndexedDBDatabase::PendingSuccessCall { |
| public: |
| PendingSuccessCall(scoped_refptr<IndexedDBCallbacks> callbacks, |
| IndexedDBConnection* connection, |
| - int64 transaction_id, |
|
jsbell
2013/11/14 23:34:12
Nice!
|
| int64 version) |
| : callbacks_(callbacks), |
| connection_(connection), |
| - version_(version), |
| - transaction_id_(transaction_id) {} |
| + version_(version) {} |
| scoped_refptr<IndexedDBCallbacks> Callbacks() { return callbacks_; } |
| IndexedDBConnection* Connection() { return connection_; } |
| int64 Version() { return version_; } |
| - int64 TransactionId() const { return transaction_id_; } |
| private: |
| scoped_refptr<IndexedDBCallbacks> callbacks_; |
| IndexedDBConnection* connection_; |
| int64 version_; |
| - const int64 transaction_id_; |
| }; |
| class IndexedDBDatabase::PendingDeleteCall { |
| @@ -1259,7 +1255,7 @@ void IndexedDBDatabase::VersionChangeOperation( |
| } |
| DCHECK(!pending_second_half_open_); |
| pending_second_half_open_.reset(new PendingSuccessCall( |
| - callbacks, connection.get(), transaction->id(), version)); |
| + callbacks, connection.get(), version)); |
| callbacks->OnUpgradeNeeded( |
| old_version, connection.Pass(), metadata(), data_loss, data_loss_message); |
| } |