Title: [135037] tags/Safari-537.19.1/Source/WebKit2
- Revision
- 135037
- Author
- lforsch...@apple.com
- Date
- 2012-11-16 22:11:21 -0800 (Fri, 16 Nov 2012)
Log Message
Merge fix from <rdar://problem/12723222>.
Modified Paths
Diff
Modified: tags/Safari-537.19.1/Source/WebKit2/ChangeLog (135036 => 135037)
--- tags/Safari-537.19.1/Source/WebKit2/ChangeLog 2012-11-17 06:09:59 UTC (rev 135036)
+++ tags/Safari-537.19.1/Source/WebKit2/ChangeLog 2012-11-17 06:11:21 UTC (rev 135037)
@@ -1,3 +1,17 @@
+2012-11-16 Kiran Muppala <cmupp...@apple.com>
+
+ Set timer coalescing policy of WebKit2 processes to that of visible applications.
+ <rdar://problem/12723222>
+
+ Reviewed by NOBODY. This patch will not be submitted to trunk until review. It is low enough risk to commit
+ on a branch without review.
+
+ Set timer coalescing policy of WebKit2 processes to that of visible applications until they can manage
+ the policy better.
+
+ * Shared/mac/ChildProcessMac.mm:
+ (WebKit::ChildProcess::platformInitialize): Add call to WKSetTimerCoalescingPolicy.
+
2012-11-16 Lucas Forschler <lforsch...@apple.com>
Merge r135020
Modified: tags/Safari-537.19.1/Source/WebKit2/Shared/mac/ChildProcessMac.mm (135036 => 135037)
--- tags/Safari-537.19.1/Source/WebKit2/Shared/mac/ChildProcessMac.mm 2012-11-17 06:09:59 UTC (rev 135036)
+++ tags/Safari-537.19.1/Source/WebKit2/Shared/mac/ChildProcessMac.mm 2012-11-17 06:11:21 UTC (rev 135037)
@@ -26,6 +26,8 @@
#import "config.h"
#import "ChildProcess.h"
+#import <WebKitSystemInterface.h>
+
namespace WebKit {
NSString * const ChildProcess::processSuppressionVisibleApplicationReason = @"Application is Visible";
@@ -66,6 +68,7 @@
{
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
setpriority(PRIO_DARWIN_PROCESS, 0, 0);
+ WKSetTimerCoalescingPolicy(WKTimerCoalescingPolicyForegroundProcess);
#endif
disableProcessSuppression(processSuppressionVisibleApplicationReason);
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes