https://bugs.webkit.org/show_bug.cgi?id=169594
Reviewed by Carlos Garcia Campos.
Instead of PLATFORM(GTK) guards, utilize the USE(GLIB) build guards
to guard the GLib-specific includes and invocations in the JSC
inspector's EventLoop class implementation.
* inspector/EventLoop.cpp:
(Inspector::EventLoop::cycle):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@213892
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2017-03-14 Zan Dobersek <zdobersek@igalia.com>
+
+ [GLib] Use USE(GLIB) guards in JavaScriptCore/inspector/EventLoop.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=169594
+
+ Reviewed by Carlos Garcia Campos.
+
+ Instead of PLATFORM(GTK) guards, utilize the USE(GLIB) build guards
+ to guard the GLib-specific includes and invocations in the JSC
+ inspector's EventLoop class implementation.
+
+ * inspector/EventLoop.cpp:
+ (Inspector::EventLoop::cycle):
+
2017-03-13 Yusuke Suzuki <utatane.tea@gmail.com>
[JSC][Linux] Implement VMTrap in Linux ports
#if OS(WINDOWS)
#include <windows.h>
-#elif PLATFORM(GTK)
+#elif USE(GLIB)
#include <glib.h>
#endif
// paused and can still access and evalute script in the JSContext.
CFTimeInterval timeInterval = 0.05;
CFRunLoopRunInMode(remoteInspectorRunLoopMode(), timeInterval, true);
-#elif PLATFORM(GTK)
+#elif USE(GLIB)
g_main_context_iteration(NULL, FALSE);
#endif
}