feat: Compile the function even if we are not on mac, b=(no-bug), c=common

This commit is contained in:
Mr. M
2025-05-13 10:40:41 +02:00
parent 3a8767ea5f
commit 2cdaf4850d

View File

@@ -57,14 +57,12 @@ using mozilla::dom::WindowGlobalChild;
*canShare = false; \
return NS_OK;
#ifdef XP_MACOSX
NS_IMETHODIMP
ZenCommonUtils::PlayHapticFeedback(uint32_t type) {
// We don't have any haptic feedback on non-macOS platforms
// so we can just return.
return PlayHapticFeedbackInternal(type);
}
#endif
NS_IMETHODIMP
ZenCommonUtils::CanShare(bool* canShare) {