⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 136206 in webkit


Ignore:
Timestamp:
Nov 29, 2012, 10:15:58 PM (14 years ago)
Author:
Lucas Forschler
Message:

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

Location:
tags/Safari-537.20/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/Safari-537.20/Source/WebKit2/ChangeLog

    r136197 r136206  
     12012-11-29  Kiran Muppala  <cmuppala@apple.com>
     2
     3        Set timer coalescing policy of WebKit2 processes to that of visible applications.
     4        <rdar://problem/12723222>
     5
     6        Reviewed by NOBODY.  This patch will not be submitted to trunk until review.  It is low enough risk to commit
     7        on a branch without review.
     8
     9        Set timer coalescing policy of WebKit2 processes to that of visible applications until they can manage
     10        the policy better.
     11
     12        * Shared/mac/ChildProcessMac.mm:
     13        (WebKit::ChildProcess::platformInitialize): Add call to WKSetTimerCoalescingPolicy.
     14
    1152012-11-29  Alexey Proskuryakov  <ap@apple.com>
    216
  • tags/Safari-537.20/Source/WebKit2/Shared/mac/ChildProcessMac.mm

    r135020 r136206  
    2626#import "config.h"
    2727#import "ChildProcess.h"
     28
     29#import <WebKitSystemInterface.h>
    2830
    2931namespace WebKit {
    … …  
    6769#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
    6870    setpriority(PRIO_DARWIN_PROCESS, 0, 0);
     71    WKSetTimerCoalescingPolicy(WKTimerCoalescingPolicyForegroundProcess);
    6972#endif
    7073    disableProcessSuppression(processSuppressionVisibleApplicationReason);
Note: See TracChangeset for help on using the changeset viewer.