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

Unified Diff: Source/modules/indexeddb/IDBRequest.cpp

Issue 218953002: Oilpan: IDBCursor should be detached from IDBRequest when the IDBRequest stops (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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: Source/modules/indexeddb/IDBRequest.cpp
diff --git a/Source/modules/indexeddb/IDBRequest.cpp b/Source/modules/indexeddb/IDBRequest.cpp
index 841c81f016cd1fb4bc7f442388695c122eb6fc2b..94027cf65614878befddb15491af0f6ed04106c0 100644
--- a/Source/modules/indexeddb/IDBRequest.cpp
+++ b/Source/modules/indexeddb/IDBRequest.cpp
@@ -369,6 +369,11 @@ bool IDBRequest::hasPendingActivity() const
return m_hasPendingActivity && !m_contextStopped;
}
+void IDBRequest::contextWillBeDestroyed()
+{
+ checkForReferenceCycle();
haraken 2014/04/01 05:56:14 I need to reconsider what I should do here. Curren
Mads Ager (chromium) 2014/04/01 11:38:38 What we want to ensure in this call is that any cu
+}
+
void IDBRequest::stop()
{
if (m_contextStopped)

Powered by Google App Engine
This is Rietveld 408576698