Bug 1674637 - Use nested namespaces in dom/ r=sg,andi
Also add some missing namespace qualifications
Done with:
./mach static-analysis check --checks="-*,modernize-concat-nested-namespaces" --fix dom/
./mach clang-format -p $(hg status dom/|grep ^M|awk '{print $2}')
Differential Revision: https://phabricator.services.mozilla.com/D95456
This commit is contained in:
@@ -81,8 +81,7 @@
|
||||
// construction, destruction
|
||||
NS_IMPL_NS_NEW_HTML_ELEMENT(Form)
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
namespace mozilla::dom {
|
||||
|
||||
static const uint8_t NS_FORM_AUTOCOMPLETE_ON = 1;
|
||||
static const uint8_t NS_FORM_AUTOCOMPLETE_OFF = 0;
|
||||
@@ -2428,5 +2427,4 @@ bool HTMLFormElement::IsSubmitting() const {
|
||||
return loading;
|
||||
}
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
} // namespace mozilla::dom
|
||||
|
||||
Reference in New Issue
Block a user