Title: [136206] tags/Safari-537.20/Source/WebKit2
Revision
136206
Author
[email protected]
Date
2012-11-29 22:15:58 -0800 (Thu, 29 Nov 2012)

Log Message

Patch for <rdar://problem/12781591>.

Modified Paths


Diff

Modified: tags/Safari-537.20/Source/WebKit2/ChangeLog (136205 => 136206)


--- tags/Safari-537.20/Source/WebKit2/ChangeLog	2012-11-30 05:46:10 UTC (rev 136205)
+++ tags/Safari-537.20/Source/WebKit2/ChangeLog	2012-11-30 06:15:58 UTC (rev 136206)
@@ -1,3 +1,17 @@
+2012-11-29  Kiran Muppala  <[email protected]>
+
+        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-29  Alexey Proskuryakov  <[email protected]>
 
         [WK2] Forward cookie jar calls to NetworkProcess

Modified: tags/Safari-537.20/Source/WebKit2/Shared/mac/ChildProcessMac.mm (136205 => 136206)


--- tags/Safari-537.20/Source/WebKit2/Shared/mac/ChildProcessMac.mm	2012-11-30 05:46:10 UTC (rev 136205)
+++ tags/Safari-537.20/Source/WebKit2/Shared/mac/ChildProcessMac.mm	2012-11-30 06:15:58 UTC (rev 136206)
@@ -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
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to