Don't use FetchRequest in FrameFetchContext
FetchRequest is a parameter object for calling ResourceFetcher::requestResource(). Its usage should be limited to requestResource(), it's callers and ResourceFetcher's methods directly called by requestResource() (this is already enforced by annotating FetchRequest with STACK_ALLOCATED). Logic in FrameFetchContext should be limited to what we cannot put in ResourceFetcher for dependency reason. It's better passing what's only needed. BUG=671533 R=yhirano@chromium.org Review-Url: https://codereview.chromium.org/2555713002 Cr-Commit-Position: refs/heads/master@{#442845}
Showing
Please register or sign in to comment