RESOLVED FIXED 232998
Non-unified build fixes, early November 2021 edition, bis
https://bugs.webkit.org/show_bug.cgi?id=232998
Summary Non-unified build fixes, early November 2021 edition, bis
Adrian Perez
Reported 2021-11-11 07:58:01 PST
👺️
Attachments
Patch (24.29 KB, patch)
2021-11-11 08:53 PST, Adrian Perez
no flags
Adrian Perez
Comment 1 2021-11-11 08:53:33 PST
EWS
Comment 2 2021-11-11 13:29:07 PST
Committed r285654 (244152@main): <https://commits.webkit.org/244152@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 443951 [details].
Radar WebKit Bug Importer
Comment 3 2021-11-11 13:30:20 PST
Darin Adler
Comment 4 2021-11-11 13:32:31 PST
Comment on attachment 443951 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=443951&action=review > Source/WebCore/ChangeLog:35 > + * platform/gamepad/GamepadConstants.h: Add missing WTF:: namespace prefix to uses of > + WTF::String. This was an incorrect change. Could you tell me more about why the compile failed without it? > Source/WebCore/platform/gamepad/GamepadConstants.h:67 > -const String& standardGamepadMappingString(); > +const WTF::String& standardGamepadMappingString(); > #if ENABLE(WEBXR) > -const String& xrStandardGamepadMappingString(); > +const WTF::String& xrStandardGamepadMappingString(); > #endif This is not the correct idiom. Instead this header should include <wtf/Forward.h> and remove the declaration of the String class above.
Adrian Perez
Comment 5 2021-11-12 06:25:36 PST
(In reply to Darin Adler from comment #4) > Comment on attachment 443951 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=443951&action=review > > > Source/WebCore/ChangeLog:35 > > + * platform/gamepad/GamepadConstants.h: Add missing WTF:: namespace prefix to uses of > > + WTF::String. > > This was an incorrect change. Could you tell me more about why the compile > failed without it? > > > Source/WebCore/platform/gamepad/GamepadConstants.h:67 > > -const String& standardGamepadMappingString(); > > +const WTF::String& standardGamepadMappingString(); > > #if ENABLE(WEBXR) > > -const String& xrStandardGamepadMappingString(); > > +const WTF::String& xrStandardGamepadMappingString(); > > #endif > > This is not the correct idiom. Instead this header should include > <wtf/Forward.h> and remove the declaration of the String class above. Fixed in r285715 — thanks for commenting on this :)
Note You need to log in before you can comment on or make changes to this bug.