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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user