| Index: content/browser/indexed_db/indexed_db_transaction.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_transaction.cc b/content/browser/indexed_db/indexed_db_transaction.cc
|
| index 4fb4c24f9ce4e799b166e052d972df52daaf9fd5..c7689b75e477b9092f46288d29d290aa932743fe 100644
|
| --- a/content/browser/indexed_db/indexed_db_transaction.cc
|
| +++ b/content/browser/indexed_db/indexed_db_transaction.cc
|
| @@ -209,7 +209,8 @@ void IndexedDBTransaction::Start() {
|
|
|
| class BlobWriteCallbackImpl : public IndexedDBBackingStore::BlobWriteCallback {
|
| public:
|
| - BlobWriteCallbackImpl(scoped_refptr<IndexedDBTransaction> transaction)
|
| + explicit BlobWriteCallbackImpl(
|
| + scoped_refptr<IndexedDBTransaction> transaction)
|
| : transaction_(transaction) {}
|
| virtual void Run(bool succeeded) OVERRIDE {
|
| transaction_->BlobWriteComplete(succeeded);
|
| @@ -255,9 +256,9 @@ void IndexedDBTransaction::Commit() {
|
|
|
| state_ = COMMITTING;
|
|
|
| - if (!used_)
|
| + if (!used_) {
|
| CommitPhaseTwo();
|
| - else {
|
| + } else {
|
| scoped_refptr<IndexedDBBackingStore::BlobWriteCallback> callback(
|
| new BlobWriteCallbackImpl(this));
|
| // CommitPhaseOne will call the callback synchronously if there are no blobs
|
|
|