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

Unified Diff: components/nacl/browser/pnacl_translation_cache_unittest.cc

Issue 2318033002: c/browser, c/common, components M-N: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Fix ItunesFileUtilTest Created 4 years, 3 months 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
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(),
in_mem ? kMaxMemCacheSize : kTestDiskCacheSize,
init_cb.callback());
if (in_mem)

Powered by Google App Engine
This is Rietveld 408576698