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

Unified Diff: content/browser/indexed_db/indexed_db_callbacks_wrapper.cc

Issue 17915004: IndexedDB: Remove uses of WebKit API types from back-end code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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: 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 7ee92136d80972469154048a6719d42e2d42a0d3..f5d288c1939c8a9ab267865c1e8053ef07329808 100644
--- a/content/browser/indexed_db/indexed_db_callbacks_wrapper.cc
+++ b/content/browser/indexed_db/indexed_db_callbacks_wrapper.cc
@@ -8,7 +8,6 @@
#include "content/browser/indexed_db/indexed_db_metadata.h"
#include "content/browser/indexed_db/webidbcursor_impl.h"
#include "content/browser/indexed_db/webidbdatabase_impl.h"
-#include "third_party/WebKit/public/platform/WebIDBDatabaseError.h"
namespace content {
@@ -22,8 +21,7 @@ IndexedDBCallbacksWrapper::~IndexedDBCallbacksWrapper() {}
void IndexedDBCallbacksWrapper::OnError(const IndexedDBDatabaseError& error) {
DCHECK(callbacks_);
- callbacks_->onError(
- WebKit::WebIDBDatabaseError(error.code(), error.message()));
+ callbacks_->onError(error);
callbacks_.reset();
}
« no previous file with comments | « content/browser/indexed_db/indexed_db_callbacks.cc ('k') | content/browser/indexed_db/indexed_db_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698