[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
commit-queue at webkit.org
commit-queue at webkit.org
Wed Dec 22 13:38:42 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 8c9a85d46f33aa6fbc480cfbbe80644d01ef7fe3
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Sep 22 08:37:01 2010 +0000
2010-09-22 Paul Knight <pknight at apple.com>
Reviewed by Simon Fraser.
-[WebView _scheduleCompositingLayerSync] should wake the run loop
https://bugs.webkit.org/show_bug.cgi?id=46226
Call CFRunLoopWakeUp to make sure the run loop is not sleeping, which could delay layer painting.
* WebView/WebView.mm:
(-[WebView _scheduleCompositingLayerSync]):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/mac/ChangeLog b/WebKit/mac/ChangeLog
index de7c6a1..eeea910 100644
--- a/WebKit/mac/ChangeLog
+++ b/WebKit/mac/ChangeLog
@@ -1,3 +1,15 @@
+2010-09-22 Paul Knight <pknight at apple.com>
+
+ Reviewed by Simon Fraser.
+
+ -[WebView _scheduleCompositingLayerSync] should wake the run loop
+ https://bugs.webkit.org/show_bug.cgi?id=46226
+
+ Call CFRunLoopWakeUp to make sure the run loop is not sleeping, which could delay layer painting.
+
+ * WebView/WebView.mm:
+ (-[WebView _scheduleCompositingLayerSync]):
+
2010-09-21 Andy Estes <aestes at apple.com>
Reviewed by Darin Adler.
diff --git a/WebKit/mac/WebView/WebView.mm b/WebKit/mac/WebView/WebView.mm
index 23aa99c..9f3271e 100644
--- a/WebKit/mac/WebView/WebView.mm
+++ b/WebKit/mac/WebView/WebView.mm
@@ -5869,6 +5869,11 @@ static void layerSyncRunLoopObserverCallBack(CFRunLoopObserverRef, CFRunLoopActi
- (void)_scheduleCompositingLayerSync
{
+ CFRunLoopRef currentRunLoop = CFRunLoopGetCurrent();
+
+ // Make sure we wake up the loop or the observer could be delayed until some other source fires.
+ CFRunLoopWakeUp(currentRunLoop);
+
if (_private->layerSyncRunLoopObserver)
return;
@@ -5884,7 +5889,7 @@ static void layerSyncRunLoopObserverCallBack(CFRunLoopObserverRef, CFRunLoopActi
kCFRunLoopBeforeWaiting | kCFRunLoopExit, true /* repeats */,
runLoopOrder, layerSyncRunLoopObserverCallBack, &context);
- CFRunLoopAddObserver(CFRunLoopGetCurrent(), _private->layerSyncRunLoopObserver, kCFRunLoopCommonModes);
+ CFRunLoopAddObserver(currentRunLoop, _private->layerSyncRunLoopObserver, kCFRunLoopCommonModes);
}
#endif
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list