| 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();
|
| }
|
|
|
|
|