Skip to content

Commit

Permalink
Fix PlayStation build following 270837@main
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=264995

Unreviewed build fix.

* Source/WebKit/UIProcess/API/C/playstation/WKView.cpp:
(toWKCursorType):
Turn Cursor::* into Cursor::Type::*.

Canonical link: https://commits.webkit.org/270858@main
  • Loading branch information
rkirsling committed Nov 17, 2023
1 parent b5e1e69 commit c359716
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/WebKit/UIProcess/API/C/playstation/WKView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ template<> struct ClientTraits<WKViewClientBase> {
WKCursorType toWKCursorType(const WebCore::Cursor& cursor)
{
switch (cursor.type()) {
case WebCore::Cursor::Hand:
case WebCore::Cursor::Type::Hand:
return kWKCursorTypeHand;
case WebCore::Cursor::None:
case WebCore::Cursor::Type::None:
return kWKCursorTypeNone;
case WebCore::Cursor::Pointer:
case WebCore::Cursor::Type::Pointer:
default:
return kWKCursorTypePointer;
}
Expand Down

0 comments on commit c359716

Please sign in to comment.