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

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

Issue 18145004: IndexedDB: Eliminate WebIDBCursor wrapper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add RefIDMap 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 f5d288c1939c8a9ab267865c1e8053ef07329808..ff49398d3cda6b3fbe291ee938ec34767c63a161 100644
--- a/content/browser/indexed_db/indexed_db_callbacks_wrapper.cc
+++ b/content/browser/indexed_db/indexed_db_callbacks_wrapper.cc
@@ -6,7 +6,6 @@
#include "content/browser/indexed_db/indexed_db_callbacks_wrapper.h"
#include "content/browser/indexed_db/indexed_db_cursor.h"
#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"
namespace content {
@@ -36,7 +35,7 @@ void IndexedDBCallbacksWrapper::OnSuccess(scoped_refptr<IndexedDBCursor> cursor,
const IndexedDBKey& primary_key,
std::vector<char>* value) {
DCHECK(callbacks_);
- callbacks_->onSuccess(new WebIDBCursorImpl(cursor), key, primary_key, value);
+ callbacks_->onSuccess(cursor, key, primary_key, value);
callbacks_.reset();
}

Powered by Google App Engine
This is Rietveld 408576698