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

Unified Diff: chrome/renderer/renderer_webidbobjectstore_impl.cc

Issue 6173008: Clean up some old TODOs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 | « chrome/renderer/renderer_webidbindex_impl.cc ('k') | chrome/renderer/renderer_webidbtransaction_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer_webidbobjectstore_impl.cc
diff --git a/chrome/renderer/renderer_webidbobjectstore_impl.cc b/chrome/renderer/renderer_webidbobjectstore_impl.cc
index 8a138da0ed75a1a7e1d1b2aec9ba60d92757dc69..e2eea42fc5d3de7ab7dcc7005e976ebe16fd9231 100644
--- a/chrome/renderer/renderer_webidbobjectstore_impl.cc
+++ b/chrome/renderer/renderer_webidbobjectstore_impl.cc
@@ -34,6 +34,10 @@ RendererWebIDBObjectStoreImpl::RendererWebIDBObjectStoreImpl(
}
RendererWebIDBObjectStoreImpl::~RendererWebIDBObjectStoreImpl() {
+ // It's not possible for there to be pending callbacks that address this
+ // object since inside WebKit, they hold a reference to the object wich owns
+ // this object. But, if that ever changed, then we'd need to invalidate
+ // any such pointers.
RenderThread::current()->Send(
new IndexedDBHostMsg_ObjectStoreDestroyed(idb_object_store_id_));
}
« no previous file with comments | « chrome/renderer/renderer_webidbindex_impl.cc ('k') | chrome/renderer/renderer_webidbtransaction_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698