From 2cdaf4850db1e7edb2012c939dd6f0a74af1f3d2 Mon Sep 17 00:00:00 2001 From: "Mr. M" Date: Tue, 13 May 2025 10:40:41 +0200 Subject: [PATCH] feat: Compile the function even if we are not on mac, b=(no-bug), c=common --- src/zen/toolkit/common/ZenCommonUtils.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/zen/toolkit/common/ZenCommonUtils.cpp b/src/zen/toolkit/common/ZenCommonUtils.cpp index 92106b208..d529f9750 100644 --- a/src/zen/toolkit/common/ZenCommonUtils.cpp +++ b/src/zen/toolkit/common/ZenCommonUtils.cpp @@ -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) {