Refactor macros for low power mode code.
Created attachment 415311 [details] Patch
Created attachment 415313 [details] Patch
Created attachment 415315 [details] Patch
Created attachment 415316 [details] Patch
Comment on attachment 415316 [details] Patch r=me
Committed r270406: <https://trac.webkit.org/changeset/270406> All reviewed patches have been landed. Closing bug and clearing flags on attachment 415316 [details].
<rdar://problem/71949711>
Comment on attachment 415316 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=415316&action=review > Source/WebCore/platform/cocoa/LowPowerModeNotifier.mm:104 > +#endif // PLATFORM(APPLE_LOW_POWER_MODE_SUPPORT) This should say HAVE(APPLE_LOW_POWER_MODE_SUPPORT).