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

Unified Diff: content/browser/in_process_webkit/indexed_db_dispatcher_host.h

Issue 8400061: IndexedDB: Recycle cursor objects when calling continue(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New version Created 9 years, 2 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/in_process_webkit/indexed_db_dispatcher_host.h
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.h b/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
index 874587c24729fe195e820592c3e3258f3397e8f8..16b03c4290e17ddb34d46a4c56b65bae319dd94b 100644
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
@@ -65,6 +65,10 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
int32 Add(WebKit::WebIDBTransaction* idb_transaction, const GURL& origin_url);
int32 Add(WebKit::WebDOMStringList* domStringList);
+ WebKit::WebIDBCursor* getCursorFromId(int32 cursor_id) {
+ return GetOrTerminateProcess(&cursor_dispatcher_host_->map_, cursor_id);
+ }
+
private:
virtual ~IndexedDBDispatcherHost();

Powered by Google App Engine
This is Rietveld 408576698