Chromium Code Reviews| Index: components/nacl/browser/pnacl_translation_cache_unittest.cc |
| diff --git a/components/nacl/browser/pnacl_translation_cache_unittest.cc b/components/nacl/browser/pnacl_translation_cache_unittest.cc |
| index 18551f0a069d25ab960f4d14a4796063a09f54a3..dfc3bdefc6372d99051ff342a2c6b587ee2fa03b 100644 |
| --- a/components/nacl/browser/pnacl_translation_cache_unittest.cc |
| +++ b/components/nacl/browser/pnacl_translation_cache_unittest.cc |
| @@ -60,7 +60,7 @@ void PnaclTranslationCacheTest::InitBackend(bool in_mem) { |
| } |
| // Use the private init method so we can control the size |
| int rv = cache_->Init(in_mem ? net::MEMORY_CACHE : net::PNACL_CACHE, |
| - temp_dir_.path(), |
| + in_mem ? base::FilePath() : temp_dir_.GetPath(), |
|
vabr (Chromium)
2016/09/14 13:32:41
Before: ScopedTempDir needed to trust InitBackend
Mark Seaborn
2016/09/14 18:27:26
Can you put that note in the commit message, pleas
vabr (Chromium)
2016/09/14 20:14:39
I made an attempt at adding this to the CL. There
|
| in_mem ? kMaxMemCacheSize : kTestDiskCacheSize, |
| init_cb.callback()); |
| if (in_mem) |