The bulk of this commit was generated by running: run-clang-tidy.py \ -checks='-*,llvm-namespace-comment' \ -header-filter=^/.../mozilla-central/.* \ -fix
I was inspired by the previous patch to remove FrameLayerBuilder.h from nsDisplayList.h too.