Title: [147799] trunk/Source/WTF
- Revision
- 147799
- Author
- [email protected]
- Date
- 2013-04-05 14:47:17 -0700 (Fri, 05 Apr 2013)
Log Message
[GTK] Change from PLATFORM(GTK) to USE(GLIB) in WTF/CurrentTime.cpp
https://bugs.webkit.org/show_bug.cgi?id=114061
Patch by Jesus Sanchez-Palencia <[email protected]> on 2013-04-05
Reviewed by Gustavo Noronha Silva.
Now other ports using GLib can use the correct implementation
and not the fallback one without adding any other PLATFORM guards
here.
* wtf/CurrentTime.cpp:
(WTF):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (147798 => 147799)
--- trunk/Source/WTF/ChangeLog 2013-04-05 21:34:15 UTC (rev 147798)
+++ trunk/Source/WTF/ChangeLog 2013-04-05 21:47:17 UTC (rev 147799)
@@ -1,3 +1,17 @@
+2013-04-05 Jesus Sanchez-Palencia <[email protected]>
+
+ [GTK] Change from PLATFORM(GTK) to USE(GLIB) in WTF/CurrentTime.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=114061
+
+ Reviewed by Gustavo Noronha Silva.
+
+ Now other ports using GLib can use the correct implementation
+ and not the fallback one without adding any other PLATFORM guards
+ here.
+
+ * wtf/CurrentTime.cpp:
+ (WTF):
+
2013-04-05 Geoffrey Garen <[email protected]>
Made USE(JSC) unconditional
Modified: trunk/Source/WTF/wtf/CurrentTime.cpp (147798 => 147799)
--- trunk/Source/WTF/wtf/CurrentTime.cpp 2013-04-05 21:34:15 UTC (rev 147798)
+++ trunk/Source/WTF/wtf/CurrentTime.cpp 2013-04-05 21:47:17 UTC (rev 147799)
@@ -55,7 +55,7 @@
#include <sys/time.h>
#endif
-#if PLATFORM(GTK)
+#if USE(GLIB) && !PLATFORM(EFL)
#include <glib.h>
#endif
@@ -222,7 +222,7 @@
#endif // USE(QUERY_PERFORMANCE_COUNTER)
-#elif PLATFORM(GTK)
+#elif USE(GLIB) && !PLATFORM(EFL)
// Note: GTK on Windows will pick up the PLATFORM(WIN) implementation above which provides
// better accuracy compared with Windows implementation of g_get_current_time:
@@ -291,7 +291,7 @@
return ecore_time_get();
}
-#elif PLATFORM(GTK)
+#elif USE(GLIB) && !PLATFORM(EFL)
double monotonicallyIncreasingTime()
{
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes