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

Unified Diff: content/browser/indexed_db/indexed_db_factory.h

Issue 77863005: Make refcounting of IndexedDBFactory threadsafe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove suppression Created 7 years, 1 month 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 | « no previous file | tools/valgrind/tsan_v2/suppressions.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/indexed_db_factory.h
diff --git a/content/browser/indexed_db/indexed_db_factory.h b/content/browser/indexed_db/indexed_db_factory.h
index 11840971504d3c217cda5cfd71b04a7f5099c46c..b143853a3a0c3150e7c04c35a3304aee244f04b3 100644
--- a/content/browser/indexed_db/indexed_db_factory.h
+++ b/content/browser/indexed_db/indexed_db_factory.h
@@ -24,7 +24,7 @@ class IndexedDBBackingStore;
class IndexedDBContextImpl;
class CONTENT_EXPORT IndexedDBFactory
- : NON_EXPORTED_BASE(public base::RefCounted<IndexedDBFactory>) {
+ : NON_EXPORTED_BASE(public base::RefCountedThreadSafe<IndexedDBFactory>) {
public:
explicit IndexedDBFactory(IndexedDBContextImpl* context);
@@ -61,7 +61,7 @@ class CONTENT_EXPORT IndexedDBFactory
void ContextDestroyed();
protected:
- friend class base::RefCounted<IndexedDBFactory>;
+ friend class base::RefCountedThreadSafe<IndexedDBFactory>;
virtual ~IndexedDBFactory();
« no previous file with comments | « no previous file | tools/valgrind/tsan_v2/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698