[Webkit-unassigned] [Bug 130027] [GLIB] Add GMainLoopSource class to wrap idle and timeout sources

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 14 05:32:07 PDT 2014


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





--- Comment #27 from Zan Dobersek <zandobersek at gmail.com>  2014-03-14 05:32:26 PST ---
(From update of attachment 226675)
View in context: https://bugs.webkit.org/attachment.cgi?id=226675&action=review

> Source/WTF/wtf/gtk/RunLoopGtk.cpp:104
> +        G_PRIORITY_DEFAULT, [this]() { deref(); });

Nit: you can omit the () parentheses: '[this] { deref(); }'

> Source/WTF/wtf/gtk/RunLoopGtk.cpp:120
> +    m_timerSource.scheduleAfterDelay("[WebKit] RunLoop::Timer", std::function<bool ()>([this, repeat]() { fired(); return repeat; }),

Ditto.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list