[Webkit-unassigned] [Bug 143316] Use std::chrono types to represent time in response and cache classes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 3 10:34:05 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=143316
--- Comment #13 from Anders Carlsson <andersca at apple.com> ---
Comment on attachment 249979
--> https://bugs.webkit.org/attachment.cgi?id=249979
another
View in context: https://bugs.webkit.org/attachment.cgi?id=249979&action=review
> Source/WebCore/platform/network/CacheValidation.cpp:113
> + auto maxAge = response.cacheControlMaxAge();
> + if (maxAge)
Can fold this into the if condition.
> Source/WebCore/platform/network/HTTPParsers.cpp:243
> + // This assumes system_clock epoch equals Unix epoch which is true for all implementations but unspecified.
> + // FIXME: The parsing function should be switched to std::chrono too.
Maybe we can use std::chrono::system:clock::to_time_t or something?
--
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/20150403/4f8a14be/attachment.html>
More information about the webkit-unassigned
mailing list