[Webkit-unassigned] [Bug 169274] [link preload] Double downloads of preloaded CSS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 7 11:03:51 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=169274

Antti Koivisto <koivisto at iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #303664|review?                     |review+
              Flags|                            |

--- Comment #9 from Antti Koivisto <koivisto at iki.fi> ---
Comment on attachment 303664
  --> https://bugs.webkit.org/attachment.cgi?id=303664
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=303664&action=review

> Source/WebCore/loader/cache/CachedResource.h:235
> -    void setLinkPreload() { m_isLinkPreload = true; }
> +    enum class IsLinkPreload { LinkPreload, NotLinkPreload };
> +    void setLinkPreload(IsLinkPreload isLinkPreload) { m_isLinkPreload = ((isLinkPreload == IsLinkPreload::LinkPreload) ? true : false); }

Enum seem unnecessary. Maybe just setIsLinkPreload(bool)?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170307/dbeec751/attachment.html>


More information about the webkit-unassigned mailing list