Changeset 263462 in webkit


Ignore:
Timestamp:
Jun 24, 2020 10:05:36 AM (4 years ago)
Author:
timothy_horton@apple.com
Message:

Fix the build once RBSProcessLimitations.h is introduced
https://bugs.webkit.org/show_bug.cgi?id=213562

Reviewed by Wenson Hsieh.

  • Platform/spi/ios/RunningBoardServicesSPI.h:

We can't forward-declare Objective-C SPI if it actually exists
without inspiring duplicate definition errors.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r263460 r263462  
     12020-06-24  Tim Horton  <timothy_horton@apple.com>
     2
     3        Fix the build once RBSProcessLimitations.h is introduced
     4        https://bugs.webkit.org/show_bug.cgi?id=213562
     5
     6        Reviewed by Wenson Hsieh.
     7
     8        * Platform/spi/ios/RunningBoardServicesSPI.h:
     9        We can't forward-declare Objective-C SPI if it actually exists
     10        without inspiring duplicate definition errors.
     11
    1122020-06-24  Alex Christensen  <achristensen@webkit.org>
    213
  • trunk/Source/WebKit/Platform/spi/ios/RunningBoardServicesSPI.h

    r262858 r263462  
    3232extern const NSTimeInterval RBSProcessTimeLimitationNone;
    3333
     34#if __has_include(<RunningBoardServices/RBSProcessLimitations.h>)
     35#import <RunningBoardServices/RBSProcessLimitations.h>
     36#else
    3437@interface RBSProcessLimitations : NSObject
    3538@property (nonatomic, readwrite, assign) NSTimeInterval runTime;
    3639@end
     40#endif
    3741
    3842#else
Note: See TracChangeset for help on using the changeset viewer.