Title: [213892] trunk/Source/_javascript_Core
- Revision
- 213892
- Author
- [email protected]
- Date
- 2017-03-14 01:29:31 -0700 (Tue, 14 Mar 2017)
Log Message
[GLib] Use USE(GLIB) guards in _javascript_Core/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):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (213891 => 213892)
--- trunk/Source/_javascript_Core/ChangeLog 2017-03-14 08:28:42 UTC (rev 213891)
+++ trunk/Source/_javascript_Core/ChangeLog 2017-03-14 08:29:31 UTC (rev 213892)
@@ -1,3 +1,17 @@
+2017-03-14 Zan Dobersek <[email protected]>
+
+ [GLib] Use USE(GLIB) guards in _javascript_Core/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 <[email protected]>
[JSC][Linux] Implement VMTrap in Linux ports
Modified: trunk/Source/_javascript_Core/inspector/EventLoop.cpp (213891 => 213892)
--- trunk/Source/_javascript_Core/inspector/EventLoop.cpp 2017-03-14 08:28:42 UTC (rev 213891)
+++ trunk/Source/_javascript_Core/inspector/EventLoop.cpp 2017-03-14 08:29:31 UTC (rev 213892)
@@ -28,7 +28,7 @@
#if OS(WINDOWS)
#include <windows.h>
-#elif PLATFORM(GTK)
+#elif USE(GLIB)
#include <glib.h>
#endif
@@ -65,7 +65,7 @@
// 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
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes