shared worker: Fix some code around default factory.
Shared worker's factory bundle's default factory can now be AppCache rather than network, since support for shared worker + AppCache was added in issue 715632. Use CloneWithoutDefaultFactory() to make the service worker fallback factory accordingly, as is done for frames in RenderFrameImpl::BuildServiceWorkerNetworkProviderForNavigation and dedicated workers in RenderFrameImpl::CreateWorkerFetchContext. No test added since we don't have a feature that can be set as the default factory and be used in conjunction with service worker. The point of the change is to fix the comments and make it consistent with the other callsites. Bug: 715632 Change-Id: Ie1ee1cae5423fd81933dea599e6d724a12bf51f7 Reviewed-on: https://chromium-review.googlesource.com/c/1260883Reviewed-by:Hiroki Nakagawa <nhiroki@chromium.org> Commit-Queue: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#596890}
Showing
Please register or sign in to comment