mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
7c4a6b32f3
I apologize for mixing multiple types of changes in this patch. The mix is probably harder to review than necessary. Because of the way these .cpp files are listed in mozglue/baseprofiler/moz.build, they are only built when MOZ_GECKO_PROFILER is set. So the #ifdef MOZ_GECKO_PROFILER wrapper is now unnecessary. Removing this wrapper has many knock-on effects on other lines in these files due to preprocessor line indentation. As I was removing the #ifdefs, I was reordering includes as well, to follow the include order laid out on https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes ; namely, system headers should go before "your project's" .h files. I also removed the BaseProfiler.h include from some files but not from all. In the past, the BaseProfiler.h include served the purpose of picking up the MOZ_BASE_PROFILER #define, and it's no longer needed for that reason. There are probably lots of now-unnecessary BaseProfiler.h includes left. Differential Revision: https://phabricator.services.mozilla.com/D73527 |
||
---|---|---|
.. | ||
core | ||
lul | ||
public | ||
moz.build |