Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 219ba6a

Browse files
committed
Bug 1691166 - Replace deprecated enum constant NSSystemDefined with NSEventTypeSystemDefined in TestMediaKeysEventMac.mm. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D104298
1 parent dc29e9a commit 219ba6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dom/media/mediacontrol/tests/gtest/TestMediaKeysEventMac.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
static const int kSystemDefinedEventMediaKeysSubtype = 8;
2020

2121
static void SendFakeEvent(RefPtr<MediaHardwareKeysEventSourceMac>& aSource, int aKeyData) {
22-
NSEvent* event = [NSEvent otherEventWithType:NSSystemDefined
22+
NSEvent* event = [NSEvent otherEventWithType:NSEventTypeSystemDefined
2323
location:NSZeroPoint
2424
modifierFlags:0
2525
timestamp:0

0 commit comments

Comments
 (0)