mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-04 04:22:45 +00:00
feat: Compile the function even if we are not on mac, b=(no-bug), c=common
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user