[Webkit-unassigned] [Bug 143668] Network Cache: Add thread-safe accessors for storage paths

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 13 11:29:43 PDT 2015


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

--- Comment #3 from Anders Carlsson <andersca at apple.com> ---
Comment on attachment 250639
  --> https://bugs.webkit.org/attachment.cgi?id=250639
patch

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

> Source/WebKit2/NetworkProcess/cache/NetworkCacheStorage.cpp:79
> +    // This is safe from any thread.
> +    return StringView(m_baseDirectoryPath).toString();

I think this could just call m_baseDirectoryPath.isolatedCopy() (if m_baseDirectoryPath was kept a String)

-- 
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/20150413/edee27f1/attachment.html>


More information about the webkit-unassigned mailing list