Commit 5659004e authored by tkent@chromium.org's avatar tkent@chromium.org

Oilpan: Add a comment to a Persistent data member in DatabaseSync.

BUG=347902
NOTRY=true

Review URL: https://codereview.chromium.org/203303009

git-svn-id: svn://svn.chromium.org/blink/trunk@169527 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 0ad4c1db
......@@ -88,6 +88,11 @@ private:
SQLTransactionSync& m_transaction;
};
// Need a Persistent field because a HeapHashMap entry should be removed
// just after a SQLTransactionSync becomes untraceable. If this field was a
// Member<>, we could not assume the destruction order of DatabaseSync,
// SQLTransactionSync, and the field. We can not make the field static
// because multiple worker threads create SQLTransactionSync.
GC_PLUGIN_IGNORE("http://crbug.com/353083")
PersistentHeapHashMap<WeakMember<SQLTransactionSync>, OwnPtr<TransactionObserver> > m_observers;
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment