| Summary: | Non-unified build fixes, early November 2021 edition, bis | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Adrian Perez <aperez> | ||||
| Component: | Tools / Tests | Assignee: | Adrian Perez <aperez> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | cdumez, changseok, darin, dino, eric.carlson, esprehn+autocc, ews-watchlist, fmalita, glenn, gyuyoung.kim, hta, japhet, jer.noble, kangil.han, keith_miller, kondapallykalyan, mark.lam, mifenton, msaboff, pdr, philipj, saam, sabouhallawa, schenney, sergio, tommyw, tzagallo, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Adrian Perez
2021-11-11 07:58:01 PST
Created attachment 443951 [details]
Patch
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]. 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. (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 :) |