summaryrefslogtreecommitdiffstats
path: root/webkit/appcache
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/appcache')
-rw-r--r--webkit/appcache/web_application_cache_host_impl.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/appcache/web_application_cache_host_impl.cc b/webkit/appcache/web_application_cache_host_impl.cc
index 4fbcc21..f6e6336 100644
--- a/webkit/appcache/web_application_cache_host_impl.cc
+++ b/webkit/appcache/web_application_cache_host_impl.cc
@@ -173,8 +173,10 @@ void WebApplicationCacheHostImpl::willStartMainResourceRequest(
spawning_frame = frame;
WebApplicationCacheHostImpl* spawning_host = FromFrame(spawning_frame);
- if (spawning_host && (spawning_host != this))
+ if (spawning_host && (spawning_host != this) &&
+ (spawning_host->status_ != UNCACHED)) {
backend_->SetSpawningHostId(host_id_, spawning_host->host_id());
+ }
}
}