diff options
Diffstat (limited to 'content/browser/storage_partition_impl_unittest.cc')
-rw-r--r-- | content/browser/storage_partition_impl_unittest.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/content/browser/storage_partition_impl_unittest.cc b/content/browser/storage_partition_impl_unittest.cc index 36af638..0492335 100644 --- a/content/browser/storage_partition_impl_unittest.cc +++ b/content/browser/storage_partition_impl_unittest.cc @@ -98,8 +98,10 @@ class StoragePartitionShaderClearTest : public testing::Test { void ClearData(content::StoragePartitionImpl* sp, const base::Closure& cb) { base::Time time; - sp->AsyncClearDataBetween(content::StoragePartition::kShaderStorage, - time, time, cb); + sp->ClearDataForRange( + StoragePartition::REMOVE_DATA_MASK_SHADER_CACHE, + StoragePartition::kAllStorage, + time, time, cb); } TEST_F(StoragePartitionShaderClearTest, ClearShaderCache) { |