Title: [177443] trunk/Tools
Revision
177443
Author
[email protected]
Date
2014-12-17 04:03:18 -0800 (Wed, 17 Dec 2014)

Log Message

[GTK] Simplify timeout handling in TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded
https://bugs.webkit.org/show_bug.cgi?id=139725

Reviewed by Martin Robinson.

The timeout is already in milliseconds, so we don't need to do any conversion.

* WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
(WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (177442 => 177443)


--- trunk/Tools/ChangeLog	2014-12-17 11:44:49 UTC (rev 177442)
+++ trunk/Tools/ChangeLog	2014-12-17 12:03:18 UTC (rev 177443)
@@ -1,3 +1,15 @@
+2014-12-17  Carlos Garcia Campos  <[email protected]>
+
+        [GTK] Simplify timeout handling in TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded
+        https://bugs.webkit.org/show_bug.cgi?id=139725
+
+        Reviewed by Martin Robinson.
+
+        The timeout is already in milliseconds, so we don't need to do any conversion.
+
+        * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
+        (WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded):
+
 2014-12-17  Hunseop Jeong  <[email protected]>
 
         [EFL]Fix build warning in MiniBrowser

Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp (177442 => 177443)


--- trunk/Tools/WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp	2014-12-17 11:44:49 UTC (rev 177442)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp	2014-12-17 12:03:18 UTC (rev 177443)
@@ -49,7 +49,7 @@
         return;
 
     m_waitToDumpWatchdogTimer.scheduleAfterDelay("[WTR] waitToDumpWatchdogTimerCallback", [this] { waitToDumpWatchdogTimerFired(); },
-        std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::duration<double>(m_timeout / 1000.0)));
+        std::chrono::milliseconds(m_timeout));
 }
 
 JSRetainPtr<JSStringRef> TestRunner::pathToLocalResource(JSStringRef url)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to