[Webkit-unassigned] [Bug 98665] Remove <wtf/Platform.h> include from header files.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 16 17:45:19 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=98665





--- Comment #11 from Darin Adler <darin at apple.com>  2012-10-16 17:46:10 PST ---
The original philosophy was this:

1) Some headers are designed so they can be used outside WebKit. Those files should not include Platform.h and more importantly should not rely on things defined in Platform.h at all.

2) Other headers are designed for use only inside WebKit. Those files include Platform.h and use it.

After this change, it seems like there is a new class of header that can be used outside WebKit, but if used inside WebKit must be included after Platform.h. And presumably "config.h" is supposed to mitigate that problem. But I don’t understand how a header that uses the Platform.h macros can be used outside WebKit without Platform.h.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list