WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
206272
Platform.h is out of control Part 4: Split PLATFORM_* macro definitions out of Platform.h and into a new PlatformLegacy.h
https://bugs.webkit.org/show_bug.cgi?id=206272
Summary
Platform.h is out of control Part 4: Split PLATFORM_* macro definitions out o...
Sam Weinig
Reported
2020-01-14 19:04:49 PST
Platform.h is out of control Part 4: Split PLATFORM_* macro definitions out of Platform.h and into a new PlatformLegacy.h
Attachments
Patch
(69.20 KB, patch)
2020-01-14 19:05 PST
,
Sam Weinig
andersca
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2020-01-14 19:05:50 PST
Created
attachment 387745
[details]
Patch
Sam Weinig
Comment 2
2020-01-15 09:48:52 PST
Committed
r254572
: <
https://trac.webkit.org/changeset/254572
>
Radar WebKit Bug Importer
Comment 3
2020-01-15 09:49:16 PST
<
rdar://problem/58608497
>
Saam Barati
Comment 4
2020-01-16 00:34:31 PST
Comment on
attachment 387745
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=387745&action=review
> Source/WTF/ChangeLog:8 > + As a another step towards cleaning up Platform.h, split out all the legacy platform
What makes these legacy?
Sam Weinig
Comment 5
2020-01-17 08:54:18 PST
(In reply to Saam Barati from
comment #4
)
> Comment on
attachment 387745
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=387745&action=review
> > > Source/WTF/ChangeLog:8 > > + As a another step towards cleaning up Platform.h, split out all the legacy platform > > What makes these legacy?
There has been a long stated though poorly communicated goal of phasing out the use of PLATFORM() macros in favor of the more targeted ones. The comment above the definition has read for quite a while: /* ==== PLATFORM handles OS, operating environment, graphics API, and CPU. This macro will be phased out in favor of platform adaptation macros, policy decision macros, and top-level port definitions. ==== */
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug