Reviewed by Anders Carlsson.
* TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
(TestWebKitAPI::Util::run): Made the call to -runMode:beforeDate: return
immediately if there are no sources by passing a date in the distant past.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@99124
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-11-02 Dan Bernstein <mitz@apple.com>
+
+ Fix an intermittent hang in RenderedImageFromDOMRange.
+
+ Reviewed by Anders Carlsson.
+
+ * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
+ (TestWebKitAPI::Util::run): Made the call to -runMode:beforeDate: return
+ immediately if there are no sources by passing a date in the distant past.
+
2011-11-02 Adam Roben <aroben@apple.com>
Add git-add-reviewer
void run(bool* done)
{
while (!*done)
- [[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantFuture]];
+ [[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantPast]];
}
void sleep(double seconds)