Title: [230402] releases/WebKitGTK/webkit-2.20/Source/WTF
- Revision
- 230402
- Author
- carlo...@webkit.org
- Date
- 2018-04-09 03:53:36 -0700 (Mon, 09 Apr 2018)
Log Message
Merge r229406 - [GLib] RunLoop::wakeUp(): use a zero value instead of the monotonic time
https://bugs.webkit.org/show_bug.cgi?id=183447
Reviewed by Carlos Garcia Campos.
* wtf/glib/RunLoopGLib.cpp:
(WTF::RunLoop::wakeUp): Micro-optimize the wake-up schedule by using
a zero value as the GSource ready time, instead of retrieving and using
the current monotonic time.
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.20/Source/WTF/ChangeLog (230401 => 230402)
--- releases/WebKitGTK/webkit-2.20/Source/WTF/ChangeLog 2018-04-09 10:53:30 UTC (rev 230401)
+++ releases/WebKitGTK/webkit-2.20/Source/WTF/ChangeLog 2018-04-09 10:53:36 UTC (rev 230402)
@@ -1,3 +1,15 @@
+2018-03-08 Zan Dobersek <zdober...@igalia.com>
+
+ [GLib] RunLoop::wakeUp(): use a zero value instead of the monotonic time
+ https://bugs.webkit.org/show_bug.cgi?id=183447
+
+ Reviewed by Carlos Garcia Campos.
+
+ * wtf/glib/RunLoopGLib.cpp:
+ (WTF::RunLoop::wakeUp): Micro-optimize the wake-up schedule by using
+ a zero value as the GSource ready time, instead of retrieving and using
+ the current monotonic time.
+
2018-02-23 Fujii Hironori <hironori.fu...@sony.com>
warning: unused variable 'InitialBufferSize' in Assertions.cpp
Modified: releases/WebKitGTK/webkit-2.20/Source/WTF/wtf/glib/RunLoopGLib.cpp (230401 => 230402)
--- releases/WebKitGTK/webkit-2.20/Source/WTF/wtf/glib/RunLoopGLib.cpp 2018-04-09 10:53:30 UTC (rev 230401)
+++ releases/WebKitGTK/webkit-2.20/Source/WTF/wtf/glib/RunLoopGLib.cpp 2018-04-09 10:53:36 UTC (rev 230402)
@@ -120,7 +120,7 @@
void RunLoop::wakeUp()
{
- g_source_set_ready_time(m_source.get(), g_get_monotonic_time());
+ g_source_set_ready_time(m_source.get(), 0);
}
class DispatchAfterContext {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes