зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
a643e33d32
Коммит
765bc72e8f
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче