| Index: chrome/browser/nacl_host/pnacl_translation_cache.cc
|
| diff --git a/chrome/browser/nacl_host/pnacl_translation_cache.cc b/chrome/browser/nacl_host/pnacl_translation_cache.cc
|
| index e725e0b6f226bec081a8533d2f4f4916248ae63c..f9a2c1add8fbf347cd56216836fee0ea27dbd346 100644
|
| --- a/chrome/browser/nacl_host/pnacl_translation_cache.cc
|
| +++ b/chrome/browser/nacl_host/pnacl_translation_cache.cc
|
| @@ -163,7 +163,7 @@ void PNaClTranslationCacheEntry::WriteEntry(int offset, int len) {
|
| int rv = entry_->WriteData(
|
| 1,
|
| offset,
|
| - io_buf,
|
| + io_buf.get(),
|
| len,
|
| base::Bind(&PNaClTranslationCacheEntry::DispatchNext, this),
|
| false);
|
| @@ -176,7 +176,7 @@ void PNaClTranslationCacheEntry::ReadEntry(int offset, int len) {
|
| int rv = entry_->ReadData(
|
| 1,
|
| offset,
|
| - read_buf_,
|
| + read_buf_.get(),
|
| len,
|
| base::Bind(&PNaClTranslationCacheEntry::DispatchNext, this));
|
| if (rv != net::ERR_IO_PENDING)
|
| @@ -315,7 +315,7 @@ int PNaClTranslationCache::Init(net::CacheType cache_type,
|
| cache_dir,
|
| cache_size,
|
| true /* force_initialize */,
|
| - BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE),
|
| + BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE).get(),
|
| NULL, /* dummy net log */
|
| &disk_cache_,
|
| base::Bind(&PNaClTranslationCache::OnCreateBackendComplete, AsWeakPtr()));
|
|
|