Bug 1727529 - Remove the unused profiler servo FFI bindings r=emilio

Looks like they are some leftovers from the previous profiler Rust API changes.
I thought they were removed already, but apparently they were forgotten during
a rebase or somethig.

Differential Revision: https://phabricator.services.mozilla.com/D123619
This commit is contained in:
Nazım Can Altınova 2021-08-25 13:40:31 +00:00
Родитель a643e33d32
Коммит 765bc72e8f
2 изменённых файлов: 0 добавлений и 18 удалений

Просмотреть файл

@ -51,7 +51,6 @@
#include "mozilla/Keyframe.h"
#include "mozilla/Mutex.h"
#include "mozilla/Preferences.h"
#include "mozilla/ProfilerLabels.h"
#include "mozilla/ServoElementSnapshot.h"
#include "mozilla/ShadowParts.h"
#include "mozilla/StaticPresData.h"
@ -1560,18 +1559,6 @@ void Gecko_AddPropertyToSet(nsCSSPropertyIDSet* aPropertySet,
ptr->~nsStyle##name(); \
}
void Gecko_Construct_AutoProfilerLabel(AutoProfilerLabel* aAutoLabel,
JS::ProfilingCategoryPair aCatPair) {
new (aAutoLabel) AutoProfilerLabel(
"", nullptr, aCatPair,
uint32_t(
js::ProfilingStackFrame::Flags::LABEL_DETERMINED_BY_CATEGORY_PAIR));
}
void Gecko_Destroy_AutoProfilerLabel(AutoProfilerLabel* aAutoLabel) {
aAutoLabel->~AutoProfilerLabel();
}
bool Gecko_DocumentRule_UseForPresentation(
const Document* aDocument, const nsACString* aPattern,
DocumentMatchingFunction aMatchingFunction) {

Просмотреть файл

@ -28,7 +28,6 @@ struct nsFont;
class ServoComputedData;
namespace mozilla {
class AutoProfilerLabel;
class ComputedStyle;
class SeenPtrs;
class ServoElementSnapshot;
@ -524,10 +523,6 @@ void Gecko_AddPropertyToSet(nsCSSPropertyIDSet*, nsCSSPropertyID);
#include "nsStyleStructList.h"
#undef STYLE_STRUCT
void Gecko_Construct_AutoProfilerLabel(mozilla::AutoProfilerLabel*,
JS::ProfilingCategoryPair);
void Gecko_Destroy_AutoProfilerLabel(mozilla::AutoProfilerLabel*);
bool Gecko_DocumentRule_UseForPresentation(
const mozilla::dom::Document*, const nsACString* aPattern,
mozilla::css::DocumentMatchingFunction);