Changeset 167064 in webkit


Ignore:
Timestamp:
Apr 9, 2014 9:50:53 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

Fix build failure when #if USE(XPC_SERVICES) is false.
https://bugs.webkit.org/show_bug.cgi?id=131474

Patch by Jeremy Jones <jeremyj@apple.com> on 2014-04-09
Reviewed by Dan Bernstein.

Fix build.

  • UIProcess/ios/WebProcessProxyIOS.mm:

Add #if around BackgroundTabFlags ForegroundTabFlags to prevent unused variable error.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r167062 r167064  
     12014-04-09  Jeremy Jones  <jeremyj@apple.com>
     2
     3        Fix build failure when #if USE(XPC_SERVICES) is false.
     4        https://bugs.webkit.org/show_bug.cgi?id=131474
     5
     6        Reviewed by Dan Bernstein.
     7
     8        Fix build.
     9
     10        * UIProcess/ios/WebProcessProxyIOS.mm:
     11        Add #if around BackgroundTabFlags ForegroundTabFlags to prevent unused variable error.
     12
    1132014-04-09  Ryuan Choi  <ryuan.choi@samsung.com>
    214
  • trunk/Source/WebKit2/UIProcess/ios/WebProcessProxyIOS.mm

    r167039 r167064  
    3232#import <WebCore/NotImplemented.h>
    3333
     34#if USE(XPC_SERVICES)
    3435const BKSProcessAssertionFlags BackgroundTabFlags = (BKSProcessAssertionAllowIdleSleep);
    3536const BKSProcessAssertionFlags ForegroundTabFlags = (BKSProcessAssertionAllowIdleSleep | BKSProcessAssertionPreventTaskSuspend | BKSProcessAssertionWantsForegroundResourcePriority | BKSProcessAssertionPreventTaskThrottleDown);
     37#endif
    3638
    3739namespace WebKit {
Note: See TracChangeset for help on using the changeset viewer.