summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/appcache/appcache_host.cc')
-rw-r--r--webkit/appcache/appcache_host.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/webkit/appcache/appcache_host.cc b/webkit/appcache/appcache_host.cc
index ab1ff6d..c79aba0 100644
--- a/webkit/appcache/appcache_host.cc
+++ b/webkit/appcache/appcache_host.cc
@@ -338,6 +338,7 @@ void AppCacheHost::AssociateCache(AppCache* cache) {
}
associated_cache_ = cache;
+ SetSwappableCache(cache ? cache->owning_group() : NULL);
if (cache) {
cache->AssociateHost(this);
@@ -345,8 +346,6 @@ void AppCacheHost::AssociateCache(AppCache* cache) {
} else {
frontend_->OnCacheSelected(host_id_, kNoCacheId, UNCACHED);
}
-
- SetSwappableCache(cache ? cache->owning_group() : NULL);
}
} // namespace appcache