Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: trunk/src/content/browser/indexed_db/indexed_db_transaction.cc

Issue 216433007: Revert 260147 "Handling LevelDB errors encountered after open." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/content/browser/indexed_db/indexed_db_transaction.cc
===================================================================
--- trunk/src/content/browser/indexed_db/indexed_db_transaction.cc (revision 260206)
+++ trunk/src/content/browser/indexed_db/indexed_db_transaction.cc (working copy)
@@ -259,9 +259,10 @@
while (!abort_task_stack_.empty())
abort_task_stack_.pop().Run(NULL);
- IndexedDBDatabaseError error(blink::WebIDBDatabaseExceptionUnknownError,
- "Internal error committing transaction.");
- callbacks_->OnAbort(id_, error);
+ callbacks_->OnAbort(
+ id_,
+ IndexedDBDatabaseError(blink::WebIDBDatabaseExceptionUnknownError,
+ "Internal error committing transaction."));
database_->TransactionFinished(this, false);
database_->TransactionCommitFailed();
}

Powered by Google App Engine
This is Rietveld 408576698