Title: [118821] trunk/Tools
Revision
118821
Author
[email protected]
Date
2012-05-29 12:42:00 -0700 (Tue, 29 May 2012)

Log Message

Fix the type of dispatch_time() offset

Patch by Benjamin Poulain <[email protected]> on 2012-05-29
Rubber-stamped by Joseph Pecoraro.

In r118631, I erroneously used the type NSTimeInterval for the delta of dispatch_time().

* DumpRenderTree/mac/FrameLoadDelegate.mm:
(-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (118820 => 118821)


--- trunk/Tools/ChangeLog	2012-05-29 19:33:02 UTC (rev 118820)
+++ trunk/Tools/ChangeLog	2012-05-29 19:42:00 UTC (rev 118821)
@@ -1,3 +1,14 @@
+2012-05-29  Benjamin Poulain  <[email protected]>
+
+        Fix the type of dispatch_time() offset
+
+        Rubber-stamped by Joseph Pecoraro.
+
+        In r118631, I erroneously used the type NSTimeInterval for the delta of dispatch_time().
+
+        * DumpRenderTree/mac/FrameLoadDelegate.mm:
+        (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
+
 2012-05-29  Arvid Nilsson  <[email protected]>
 
         2012-05-29  Arvid Nilsson  <[email protected]>

Modified: trunk/Tools/DumpRenderTree/mac/FrameLoadDelegate.mm (118820 => 118821)


--- trunk/Tools/DumpRenderTree/mac/FrameLoadDelegate.mm	2012-05-29 19:33:02 UTC (rev 118820)
+++ trunk/Tools/DumpRenderTree/mac/FrameLoadDelegate.mm	2012-05-29 19:42:00 UTC (rev 118821)
@@ -180,7 +180,7 @@
 
     if (!done && gLayoutTestController->useDeferredFrameLoading()) {
         [sender setDefersCallbacks:YES];
-        NSTimeInterval deferredWaitTime = 5 * NSEC_PER_MSEC;
+        int64_t deferredWaitTime = 5 * NSEC_PER_MSEC;
         dispatch_time_t when = dispatch_time(DISPATCH_TIME_NOW, deferredWaitTime);
         dispatch_after(when, dispatch_get_main_queue(), ^{
             [sender setDefersCallbacks:NO];
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to