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

Unified Diff: trunk/src/content/child/indexed_db/webidbcursor_impl.cc

Issue 126263003: Revert 243344 "IndexedDB: Fix cursor prefetching edge cases" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 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/child/indexed_db/webidbcursor_impl.cc
===================================================================
--- trunk/src/content/child/indexed_db/webidbcursor_impl.cc (revision 243358)
+++ trunk/src/content/child/indexed_db/webidbcursor_impl.cc (working copy)
@@ -161,14 +161,6 @@
++pending_onsuccess_callbacks_;
- if (!continue_count_) {
- // The cache was invalidated by a call to ResetPrefetchCache()
- // after the RequestIDBCursorPrefetch() was made. Now that the
- // initiating continue() call has been satisfied, discard
- // the rest of the cache.
- ResetPrefetchCache();
- }
-
callbacks->onSuccess(WebIDBKeyBuilder::Build(key),
WebIDBKeyBuilder::Build(primary_key),
value);

Powered by Google App Engine
This is Rietveld 408576698