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

Unified Diff: Source/platform/LifecycleObserver.h

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/platform/LifecycleObserver.h
diff --git a/Source/platform/LifecycleObserver.h b/Source/platform/LifecycleObserver.h
index 2f6765e24d5b1d85451f707ad7589e8c7d5afb15..70eb168fe8c7007a55387889345dcfcd2746ac6a 100644
--- a/Source/platform/LifecycleObserver.h
+++ b/Source/platform/LifecycleObserver.h
@@ -56,9 +56,9 @@ public:
observeContext(0);
}
+ virtual void contextWillBeDestroyed() { }
virtual void contextDestroyed() { m_lifecycleContext = 0; }
-
Context* lifecycleContext() const { return m_lifecycleContext; }
Type observerType() const { return m_observerType; }
« Source/modules/indexeddb/IDBRequest.cpp ('K') | « Source/platform/LifecycleNotifier.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698