diff --git a/layout/style/ServoBindings.cpp b/layout/style/ServoBindings.cpp index b2ad72b0e6f0..c4afeb2adbf1 100644 --- a/layout/style/ServoBindings.cpp +++ b/layout/style/ServoBindings.cpp @@ -8,7 +8,6 @@ #include "ChildIterator.h" #include "NullPrincipalURI.h" -#include "GeckoProfiler.h" #include "gfxFontFamilyList.h" #include "nsAnimationManager.h" #include "nsAttrValueInlines.h" @@ -1689,19 +1688,6 @@ Gecko_Construct_nsStyleVariables(nsStyleVariables* ptr) new (ptr) nsStyleVariables(); } -void -Gecko_RegisterProfilerThread(const char* name) -{ - char stackTop; - profiler_register_thread(name, &stackTop); -} - -void -Gecko_UnregisterProfilerThread() -{ - profiler_unregister_thread(); -} - #include "nsStyleStructList.h" #undef STYLE_STRUCT diff --git a/layout/style/ServoBindings.h b/layout/style/ServoBindings.h index 4dff9e16459a..ee9badd42b0c 100644 --- a/layout/style/ServoBindings.h +++ b/layout/style/ServoBindings.h @@ -418,9 +418,6 @@ bool Gecko_MatchStringArgPseudo(RawGeckoElementBorrowed element, void Gecko_Construct_nsStyleVariables(nsStyleVariables* ptr); -void Gecko_RegisterProfilerThread(const char* name); -void Gecko_UnregisterProfilerThread(); - #define SERVO_BINDING_FUNC(name_, return_, ...) return_ name_(__VA_ARGS__); #include "mozilla/ServoBindingList.h" #undef SERVO_BINDING_FUNC