Summary: | CachedResourceRequest should not need to store defer and preload options | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | youenn fablet <youennf> | ||||
Component: | WebCore Misc. | Assignee: | youenn fablet <youennf> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | cdumez, commit-queue, dbates, japhet | ||||
Priority: | P2 | ||||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
youenn fablet
2016-10-06 03:12:38 PDT
Created attachment 290806 [details]
Patch
Comment on attachment 290806 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=290806&action=review > Source/WebCore/loader/cache/CachedResourceLoader.cpp:192 > + auto defer = clientDefersImage(request.resourceRequest().url()) ? DeferOption::DeferredByClient : DeferOption::NoDefer; I think this auto should be bool. Thanks for the review.
> > Source/WebCore/loader/cache/CachedResourceLoader.cpp:192
> > + auto defer = clientDefersImage(request.resourceRequest().url()) ? DeferOption::DeferredByClient : DeferOption::NoDefer;
>
> I think this auto should be bool.
defer is of type enum class DeferOption.
Comment on attachment 290806 [details] Patch Clearing flags on attachment: 290806 Committed r206900: <http://trac.webkit.org/changeset/206900> All reviewed patches have been landed. Closing bug. |