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:
Sylvestre Ledru
2020-11-04 08:29:00 +00:00
parent 3e9e2d00eb
commit 8f709b39e8
686 changed files with 1401 additions and 2921 deletions

View File

@@ -150,8 +150,7 @@ using namespace mozilla::layers;
using mozilla::net::nsMediaFragmentURIParser;
using namespace mozilla::dom::HTMLMediaElement_Binding;
namespace mozilla {
namespace dom {
namespace mozilla::dom {
using AudibleState = AudioChannelService::AudibleState;
@@ -7852,8 +7851,7 @@ bool HTMLMediaElement::IsBeingUsedInPictureInPictureMode() const {
return static_cast<const HTMLVideoElement*>(this)->IsCloningElementVisually();
}
} // namespace dom
} // namespace mozilla
} // namespace mozilla::dom
#undef LOG
#undef LOG_EVENT