| Index: content/browser/appcache/appcache_interceptor.cc
|
| diff --git a/content/browser/appcache/appcache_interceptor.cc b/content/browser/appcache/appcache_interceptor.cc
|
| index 85022442562c6f188f524bd50fabdf98e3b33f3b..8d2d93651c99e5e710f0d598cfbe74426a84062f 100644
|
| --- a/content/browser/appcache/appcache_interceptor.cc
|
| +++ b/content/browser/appcache/appcache_interceptor.cc
|
| @@ -31,19 +31,22 @@ AppCacheRequestHandler* AppCacheInterceptor::GetHandler(
|
| request->GetUserData(&kHandlerKey));
|
| }
|
|
|
| -void AppCacheInterceptor::SetExtraRequestInfo(
|
| - net::URLRequest* request,
|
| - AppCacheServiceImpl* service,
|
| - int process_id,
|
| - int host_id,
|
| - ResourceType resource_type,
|
| - bool should_reset_appcache) {
|
| +void AppCacheInterceptor::SetExtraRequestInfo(net::URLRequest* request,
|
| + AppCacheServiceImpl* service,
|
| + int process_id,
|
| + int frame_id,
|
| + int host_id,
|
| + ResourceType resource_type,
|
| + bool should_reset_appcache) {
|
| if (!service || (host_id == kAppCacheNoHostId))
|
| return;
|
|
|
| AppCacheBackendImpl* backend = service->GetBackend(process_id);
|
| - if (!backend)
|
| - return;
|
| + if (!backend) {
|
| + backend = service->GetBackendForFrame(frame_id);
|
| + if (!backend)
|
| + return;
|
| + }
|
|
|
| // TODO(michaeln): An invalid host id is indicative of bad data
|
| // from a child process. How should we handle that here?
|
|
|