[Webkit-unassigned] [Bug 158243] Precache primary font in a secondary thread

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 1 09:08:10 PDT 2016


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

--- Comment #12 from Chris Dumez <cdumez at apple.com> ---
Comment on attachment 280231
  --> https://bugs.webkit.org/attachment.cgi?id=280231
patch

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

> Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp:834
> +    queue.dispatch([task = task.release()] {

[Task = WTFMove(task)]() mutable

> Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp:840
> +        RunLoop::main().dispatch([task] {

Task = WTFMove(task)

> Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp:841
> +            std::unique_ptr<PrecacheTask> deleter(task);

No need

-- 
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/20160601/6708681d/attachment.html>


More information about the webkit-unassigned mailing list