Summary: | [Wi-Fi Assertions] Adopt WiFiAssertionHolderAdditions | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andy Estes <aestes> | ||||||
Component: | New Bugs | Assignee: | Andy Estes <aestes> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bdakin, beidson, commit-queue, sam, thorton, timothy, webkit-bug-importer, wenson_hsieh | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Andy Estes
2018-05-16 10:03:49 PDT
Created attachment 340497 [details]
Patch
Comment on attachment 340497 [details]
Patch
I might use less generic names than holdAssertion()/releaseAssertion(), but otherwise, looks good.
Comment on attachment 340497 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=340497&action=review > Source/WebKit/NetworkProcess/cocoa/WiFiAssertionHolder.cpp:39 > + holdAssertion(); You will either need to add #if USE(APPLE_INTERNAL_SDK) around the call here or define empty stub functions above. > Source/WebKit/NetworkProcess/cocoa/WiFiAssertionHolder.cpp:44 > + releaseAssertion(); Ditto. (In reply to Timothy Hatcher from comment #4) > Comment on attachment 340497 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=340497&action=review > > > Source/WebKit/NetworkProcess/cocoa/WiFiAssertionHolder.cpp:39 > > + holdAssertion(); > > You will either need to add #if USE(APPLE_INTERNAL_SDK) around the call here > or define empty stub functions above. > > > Source/WebKit/NetworkProcess/cocoa/WiFiAssertionHolder.cpp:44 > > + releaseAssertion(); > > Ditto. Technically I don't need to due to how HAVE_MOBILE_WIFI is defined, but I agree this is the right way to do it, so I'll do it! Created attachment 340513 [details]
Patch
Comment on attachment 340513 [details] Patch Clearing flags on attachment: 340513 Committed r231863: <https://trac.webkit.org/changeset/231863> All reviewed patches have been landed. Closing bug. |