[webkit-changes] [WebKit/WebKit] 252923: Use mousePointerEventType() helper instead of hard...
Abrar Rahman Protyasha
noreply at github.com
Mon Jan 22 15:47:46 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 252923d1ee75b036d0bee06d54ec7e0ea4e257cd
https://github.com/WebKit/WebKit/commit/252923d1ee75b036d0bee06d54ec7e0ea4e257cd
Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
Date: 2024-01-22 (Mon, 22 Jan 2024)
Changed paths:
M Source/WebCore/platform/PlatformMouseEvent.h
M Tools/TestWebKitAPI/Tests/WebKitCocoa/iOSMouseSupport.mm
Log Message:
-----------
Use mousePointerEventType() helper instead of hardcoded "mouse" string literal
https://bugs.webkit.org/show_bug.cgi?id=267848
rdar://121360954
Reviewed by Wenson Hsieh.
The codebase has a couple of spots where we use the string literal
"mouse" to denote a mouse pointer type. In this commit, we replace these
hardcoded literals in favor of the namesake helper declared in
PointerEventTypeNames.h
* Source/WebCore/platform/PlatformMouseEvent.h:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/iOSMouseSupport.mm:
(TestWebKitAPI::TEST):
Canonical link: https://commits.webkit.org/273324@main
More information about the webkit-changes
mailing list