Index: chrome/browser/nacl_host/pnacl_translation_cache.h |
diff --git a/chrome/browser/nacl_host/pnacl_translation_cache.h b/chrome/browser/nacl_host/pnacl_translation_cache.h |
index 96f03c01246d5eebb4927b8cdc86242e970d1907..117f638c8f54352890dd8b38ffe97439bf28b086 100644 |
--- a/chrome/browser/nacl_host/pnacl_translation_cache.h |
+++ b/chrome/browser/nacl_host/pnacl_translation_cache.h |
@@ -62,7 +62,7 @@ class PnaclTranslationCache |
// PnaclTranslationCacheEntry should only use the |
// OpComplete and backend methods on PnaclTranslationCache. |
void OpComplete(PnaclTranslationCacheEntry* entry); |
- disk_cache::Backend* backend() { return disk_cache_; } |
+ disk_cache::Backend* backend() { return disk_cache_.get(); } |
int InitWithDiskBackend(const base::FilePath& disk_cache_dir, |
int cache_size, |
@@ -77,7 +77,7 @@ class PnaclTranslationCache |
void OnCreateBackendComplete(int rv); |
- disk_cache::Backend* disk_cache_; |
+ scoped_ptr<disk_cache::Backend> disk_cache_; |
CompletionCallback init_callback_; |
bool in_memory_; |
std::map<void*, scoped_refptr<PnaclTranslationCacheEntry> > open_entries_; |