diff --git a/layout/style/GeckoBindings.h b/layout/style/GeckoBindings.h index cd014dd080b9..7ca2d8a50280 100644 --- a/layout/style/GeckoBindings.h +++ b/layout/style/GeckoBindings.h @@ -61,15 +61,6 @@ const bool GECKO_IS_NIGHTLY = false; void Gecko_Release##name_##ArbitraryThread(class_* aPtr) \ { NS_RELEASE(aPtr); } -#define NS_DECL_FFI_REFCOUNTING(class_, name_) \ - void Gecko_##name_##_AddRef(class_* aPtr); \ - void Gecko_##name_##_Release(class_* aPtr); -#define NS_IMPL_FFI_REFCOUNTING(class_, name_) \ - void Gecko_##name_##_AddRef(class_* aPtr) \ - { MOZ_ASSERT(NS_IsMainThread()); NS_ADDREF(aPtr); } \ - void Gecko_##name_##_Release(class_* aPtr) \ - { MOZ_ASSERT(NS_IsMainThread()); NS_RELEASE(aPtr); } - extern "C" { class ServoBundledURI