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

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

Issue 257573002: Oilpan: Fix crash in content::WebIDBCursorImpl::~WebIDBCursorImpl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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
« no previous file with comments | « Source/modules/indexeddb/IDBCursor.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBRequest.cpp
diff --git a/Source/modules/indexeddb/IDBRequest.cpp b/Source/modules/indexeddb/IDBRequest.cpp
index 8bab481acd04588ae746702afc9acc8d6e0995c7..2acc3a17e19a384efdd5d708a67a395947b188d4 100644
--- a/Source/modules/indexeddb/IDBRequest.cpp
+++ b/Source/modules/indexeddb/IDBRequest.cpp
@@ -386,6 +386,12 @@ void IDBRequest::stop()
}
m_enqueuedEvents.clear();
+ if (m_source)
+ m_source->contextWillBeDestroyed();
+ if (m_result)
+ m_result->contextWillBeDestroyed();
+ if (m_pendingCursor)
+ m_pendingCursor->contextWillBeDestroyed();
}
const AtomicString& IDBRequest::interfaceName() const
« no previous file with comments | « Source/modules/indexeddb/IDBCursor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698