summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/cache_creator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/cache_creator.cc')
-rw-r--r--net/disk_cache/cache_creator.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/disk_cache/cache_creator.cc b/net/disk_cache/cache_creator.cc
index ccdab1f..1fee41f 100644
--- a/net/disk_cache/cache_creator.cc
+++ b/net/disk_cache/cache_creator.cc
@@ -82,7 +82,8 @@ int CacheCreator::Run() {
// TODO(gavinp,pasko): Turn Simple Cache on for more cache types as
// appropriate.
if (backend_type_ == net::CACHE_BACKEND_SIMPLE &&
- (type_ == net::DISK_CACHE || type_ == net::APP_CACHE)) {
+ (type_ == net::DISK_CACHE || type_ == net::APP_CACHE ||
+ type_ == net::MEDIA_CACHE)) {
disk_cache::SimpleBackendImpl* simple_cache =
new disk_cache::SimpleBackendImpl(path_, max_bytes_, type_,
thread_.get(), net_log_);