Title: [219680] trunk/Tools
- Revision
- 219680
- Author
- [email protected]
- Date
- 2017-07-20 05:11:59 -0700 (Thu, 20 Jul 2017)
Log Message
[WPE] Adjust priority of GSource used in WKTR's HeadlessViewBackend
https://bugs.webkit.org/show_bug.cgi?id=174671
Reviewed by Carlos Garcia Campos.
* WebKitTestRunner/wpe/HeadlessViewBackend.cpp:
(HeadlessViewBackend::HeadlessViewBackend): Use the RunLoopDispatcher
priority for this source in order to have it dispatched on the same
priority as the other WebKit-controlled GSource objects.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (219679 => 219680)
--- trunk/Tools/ChangeLog 2017-07-20 07:46:15 UTC (rev 219679)
+++ trunk/Tools/ChangeLog 2017-07-20 12:11:59 UTC (rev 219680)
@@ -1,3 +1,15 @@
+2017-07-20 Zan Dobersek <[email protected]>
+
+ [WPE] Adjust priority of GSource used in WKTR's HeadlessViewBackend
+ https://bugs.webkit.org/show_bug.cgi?id=174671
+
+ Reviewed by Carlos Garcia Campos.
+
+ * WebKitTestRunner/wpe/HeadlessViewBackend.cpp:
+ (HeadlessViewBackend::HeadlessViewBackend): Use the RunLoopDispatcher
+ priority for this source in order to have it dispatched on the same
+ priority as the other WebKit-controlled GSource objects.
+
2017-07-19 Jonathan Bedard <[email protected]>
lint-test-expectations should be run during style checking
Modified: trunk/Tools/WebKitTestRunner/wpe/HeadlessViewBackend.cpp (219679 => 219680)
--- trunk/Tools/WebKitTestRunner/wpe/HeadlessViewBackend.cpp 2017-07-20 07:46:15 UTC (rev 219679)
+++ trunk/Tools/WebKitTestRunner/wpe/HeadlessViewBackend.cpp 2017-07-20 12:11:59 UTC (rev 219680)
@@ -29,6 +29,7 @@
#include <cassert>
#include <fcntl.h>
#include <unistd.h>
+#include <wtf/glib/RunLoopSourcePriority.h>
// FIXME: Deploy good practices and clean up GBM resources at process exit.
static EGLDisplay getEGLDisplay()
@@ -103,6 +104,7 @@
backend.performUpdate();
return TRUE;
}, this, nullptr);
+ g_source_set_priority(m_updateSource, RunLoopSourcePriority::RunLoopDispatcher);
g_source_attach(m_updateSource, g_main_context_default());
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes