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

Unified Diff: Source/modules/indexeddb/IDBAny.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/IDBAny.h ('k') | Source/modules/indexeddb/IDBCursor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBAny.cpp
diff --git a/Source/modules/indexeddb/IDBAny.cpp b/Source/modules/indexeddb/IDBAny.cpp
index 956bd2258e0436ff534b35727b418a16105b7ae2..3b8a9f4112ba335bcce12897f4314f97875c9dd1 100644
--- a/Source/modules/indexeddb/IDBAny.cpp
+++ b/Source/modules/indexeddb/IDBAny.cpp
@@ -60,6 +60,12 @@ IDBAny::~IDBAny()
{
}
+void IDBAny::contextWillBeDestroyed()
+{
+ if (m_idbCursor)
+ m_idbCursor->contextWillBeDestroyed();
+}
+
DOMStringList* IDBAny::domStringList() const
{
ASSERT(m_type == DOMStringListType);
« no previous file with comments | « Source/modules/indexeddb/IDBAny.h ('k') | Source/modules/indexeddb/IDBCursor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698