Bug 197209

Summary: Build fix after r244545
Product: WebKit Reporter: Remy Demarest <rdemarest>
Component: WebKit APIAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ews-watchlist, rdemarest, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
thorton: review+, thorton: commit-queue+
Better Patch
none
For Real This Time Patch none

Description Remy Demarest 2019-04-23 13:09:37 PDT
I broke the build in High Sierra with my r244545 patch.
Comment 1 Remy Demarest 2019-04-23 13:10:07 PDT
Created attachment 368055 [details]
Patch
Comment 2 EWS Watchlist 2019-04-23 13:12:37 PDT
Attachment 368055 [details] did not pass style-queue:


ERROR: Source/WebKit/Platform/spi/mac/AppKitSPI.h:60:  Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file.  [build/version_check] [5]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Remy Demarest 2019-04-23 13:16:29 PDT
Created attachment 368056 [details]
Better Patch
Comment 4 EWS Watchlist 2019-04-23 13:20:17 PDT
Attachment 368056 [details] did not pass style-queue:


ERROR: Source/WebKit/Platform/spi/mac/AppKitSPI.h:45:  Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file.  [build/version_check] [5]
ERROR: Source/WebKit/Platform/spi/mac/AppKitSPI.h:62:  Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file.  [build/version_check] [5]
Total errors found: 2 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Remy Demarest 2019-04-23 13:22:10 PDT
Created attachment 368057 [details]
For Real This Time Patch
Comment 6 EWS Watchlist 2019-04-23 13:23:26 PDT
Attachment 368057 [details] did not pass style-queue:


ERROR: Source/WebKit/Platform/spi/mac/AppKitSPI.h:50:  Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file.  [build/version_check] [5]
ERROR: Source/WebKit/Platform/spi/mac/AppKitSPI.h:62:  Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file.  [build/version_check] [5]
Total errors found: 2 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 7 WebKit Commit Bot 2019-04-23 13:47:48 PDT
Comment on attachment 368057 [details]
For Real This Time Patch

Clearing flags on attachment: 368057

Committed r244564: <https://trac.webkit.org/changeset/244564>
Comment 8 WebKit Commit Bot 2019-04-23 13:47:50 PDT
All reviewed patches have been landed.  Closing bug.
Comment 9 Radar WebKit Bug Importer 2019-04-23 13:48:18 PDT
<rdar://problem/50142673>