summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/backend_unittest.cc
diff options
context:
space:
mode:
authorqsr@chromium.org <qsr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-11 17:27:15 +0000
committerqsr@chromium.org <qsr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-11 17:27:15 +0000
commit8a25d54d6eb190a8b82479b5309a892c1080a372 (patch)
treed075bc47c867e4d3d2444f47475f2e2ec216066d /net/disk_cache/backend_unittest.cc
parented9bc659a88a2d38ab74ab7783f9f1e25dd2fddd (diff)
downloadchromium_src-8a25d54d6eb190a8b82479b5309a892c1080a372.zip
chromium_src-8a25d54d6eb190a8b82479b5309a892c1080a372.tar.gz
chromium_src-8a25d54d6eb190a8b82479b5309a892c1080a372.tar.bz2
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
Diffstat (limited to 'net/disk_cache/backend_unittest.cc')
-rw-r--r--net/disk_cache/backend_unittest.cc6
1 files changed, 1 insertions, 5 deletions
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<disk_cache::File> file(new disk_cache::File(false));