Title: [151562] trunk/Source/WebCore
Revision
151562
Author
[email protected]
Date
2013-06-13 11:06:33 -0700 (Thu, 13 Jun 2013)

Log Message

Revert r150339 since it causes a hang while paused in the Web Inspector in other apps.

https://bugs.webkit.org/show_bug.cgi?id=117596

Reviewed by Joseph Pecoraro.

* platform/mac/EventLoopMac.mm:
(WebCore::EventLoop::cycle):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (151561 => 151562)


--- trunk/Source/WebCore/ChangeLog	2013-06-13 17:48:20 UTC (rev 151561)
+++ trunk/Source/WebCore/ChangeLog	2013-06-13 18:06:33 UTC (rev 151562)
@@ -1,3 +1,14 @@
+2013-06-13  Timothy Hatcher  <[email protected]>
+
+        Revert r150339 since it causes a hang while paused in the Web Inspector in other apps.
+
+        https://bugs.webkit.org/show_bug.cgi?id=117596
+
+        Reviewed by Joseph Pecoraro.
+
+        * platform/mac/EventLoopMac.mm:
+        (WebCore::EventLoop::cycle):
+
 2013-06-13  Brent Fulgham  <[email protected]>
 
         [Windows] Unreviewed gardening.  Remove dangling 'strings' folder from solution.

Modified: trunk/Source/WebCore/platform/mac/EventLoopMac.mm (151561 => 151562)


--- trunk/Source/WebCore/platform/mac/EventLoopMac.mm	2013-06-13 17:48:20 UTC (rev 151561)
+++ trunk/Source/WebCore/platform/mac/EventLoopMac.mm	2013-06-13 18:06:33 UTC (rev 151562)
@@ -30,8 +30,8 @@
 
 void EventLoop::cycle()
 {
-    CFTimeInterval timeInterval = 0.05;
-    CFRunLoopRunInMode(kCFRunLoopDefaultMode, timeInterval, true);
+    [NSApp setWindowsNeedUpdate:YES];
+    [NSApp sendEvent:[NSApp nextEventMatchingMask:NSAnyEventMask untilDate:[NSDate dateWithTimeIntervalSinceNow:0.05] inMode:NSDefaultRunLoopMode dequeue:YES]];
 }
 
 } // namespace WebCore
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to