From 8a25d54d6eb190a8b82479b5309a892c1080a372 Mon Sep 17 00:00:00 2001 From: "qsr@chromium.org" Date: Thu, 11 Jul 2013 17:27:15 +0000 Subject: Revert "Updating the mapped_file_avoid_mmap_posix implementation." This reverts commit d539da3c0f41200aac7cc660c4712d905b73d8a5. The SEGV causes issue with the android watchdog. R=gavinp@chromium.org Review URL: https://chromiumcodereview.appspot.com/18834003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211145 0039d316-1c4b-4281-b951-d872f2087c98 --- net/disk_cache/backend_unittest.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'net/disk_cache/backend_unittest.cc') diff --git a/net/disk_cache/backend_unittest.cc b/net/disk_cache/backend_unittest.cc index 4f0a2b4..5a61ca3 100644 --- a/net/disk_cache/backend_unittest.cc +++ b/net/disk_cache/backend_unittest.cc @@ -2759,11 +2759,7 @@ TEST_F(DiskCacheBackendTest, FileSharing) { InitCache(); disk_cache::Addr address(0x80000001); - - RunTaskForTest(base::Bind( - base::IgnoreResult(&disk_cache::BackendImpl::CreateExternalFile), - base::Unretained(cache_impl_), - &address)); + ASSERT_TRUE(cache_impl_->CreateExternalFile(&address)); base::FilePath name = cache_impl_->GetFileName(address); scoped_refptr file(new disk_cache::File(false)); -- cgit v1.1