| Index: components/nacl/browser/pnacl_translation_cache.cc
|
| diff --git a/components/nacl/browser/pnacl_translation_cache.cc b/components/nacl/browser/pnacl_translation_cache.cc
|
| index a183d59651d69fc6015d85bcb3f93a66291456fe..1f71fe39be613ac4d090d7e1b249375cc575e8a4 100644
|
| --- a/components/nacl/browser/pnacl_translation_cache.cc
|
| +++ b/components/nacl/browser/pnacl_translation_cache.cc
|
| @@ -42,7 +42,7 @@ const int kMaxMemCacheSize = 100 * 1024 * 1024;
|
| // operations. It also tracks the open disk_cache::Entry
|
| // and ensures that the entry is closed.
|
| class PnaclTranslationCacheEntry
|
| - : public base::RefCounted<PnaclTranslationCacheEntry> {
|
| + : public base::RefCountedThreadSafe<PnaclTranslationCacheEntry> {
|
| public:
|
| static PnaclTranslationCacheEntry* GetReadEntry(
|
| base::WeakPtr<PnaclTranslationCache> cache,
|
| @@ -76,7 +76,7 @@ class PnaclTranslationCacheEntry
|
| };
|
|
|
| private:
|
| - friend class base::RefCounted<PnaclTranslationCacheEntry>;
|
| + friend class base::RefCountedThreadSafe<PnaclTranslationCacheEntry>;
|
| PnaclTranslationCacheEntry(base::WeakPtr<PnaclTranslationCache> cache,
|
| const std::string& key,
|
| bool is_read);
|
|
|