Index: Source/modules/indexeddb/IDBCursor.h |
diff --git a/Source/modules/indexeddb/IDBCursor.h b/Source/modules/indexeddb/IDBCursor.h |
index bea40df304b8500de7387de7ccadffa5c81691c8..0a0f0a5cb0970ad603bf01f618f318b6dd211e3b 100644 |
--- a/Source/modules/indexeddb/IDBCursor.h |
+++ b/Source/modules/indexeddb/IDBCursor.h |
@@ -56,6 +56,7 @@ public: |
static PassRefPtr<IDBCursor> create(PassOwnPtr<blink::WebIDBCursor>, blink::WebIDBCursor::Direction, IDBRequest*, IDBAny* source, IDBTransaction*); |
virtual ~IDBCursor(); |
+ void contextWillBeDestroyed() { m_backend.clear(); } |
// Implement the IDL |
const String& direction() const { return directionToString(m_direction); } |