needed on Windows when disabling MOZ_GECKO_PROFILER draft
authorGerald Squelart <gsquelart@mozilla.com>
Tue, 09 Feb 2021 18:14:55 +1100
changeset 3544989 e0af42b3ac242a826074e0a6d1b7650e0911132c
parent 3544988 f0ee4cb2b9104dbf098d0e25485556673db4d0a1
child 3544990 8e839c95f43e019a125b407d56f5d98ea721c105
child 3545008 2f8e578df7f6f05d470c74fc5f1a6e15fe55c3bf
child 3545200 218bb1d058177d71db5d001dcaa154ce0cbc999d
push id656095
push usergsquelart@mozilla.com
push dateWed, 17 Feb 2021 09:16:13 +0000
treeherdertry@ae641dd7bb1d [default view] [failures only]
milestone87.0a1
needed on Windows when disabling MOZ_GECKO_PROFILER
mozglue/dllservices/LoaderObserver.cpp
--- a/mozglue/dllservices/LoaderObserver.cpp
+++ b/mozglue/dllservices/LoaderObserver.cpp
@@ -5,16 +5,17 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "LoaderObserver.h"
 
 #include "mozilla/AutoProfilerLabel.h"
 #include "mozilla/BaseProfilerMarkers.h"
 #include "mozilla/glue/WindowsUnicode.h"
 #include "mozilla/StackWalk_windows.h"
+#include "mozilla/TimeStamp.h"
 
 namespace {
 
 struct LoadContext {
   LoadContext(mozilla::ProfilerLabel&& aLabel,
               mozilla::UniquePtr<char[]>&& aDynamicStringStorage)
       : mProfilerLabel(std::move(aLabel)),
         mDynamicStringStorage(std::move(aDynamicStringStorage)),