RESOLVED DUPLICATE of bug 282824 282822
[GTK3] Build broken in DropTarget implementation
https://bugs.webkit.org/show_bug.cgi?id=282822
Summary [GTK3] Build broken in DropTarget implementation
Philippe Normand
Reported 2024-11-08 02:35:09 PST
In file included from /var/home/phil/WebKit/Source/WebKit/UIProcess/API/gtk/DropTargetGtk3.cpp:27: In file included from /var/home/phil/WebKit/Source/WebKit/UIProcess/API/gtk/DropTarget.h:32: In file included from /var/home/phil/WebKit/WebKitBuild/GTK/Release/WebCore/PrivateHeaders/WebCore/SelectionData.h:21: In file included from /var/home/phil/WebKit/WebKitBuild/GTK/Release/WebCore/PrivateHeaders/WebCore/Image.h:39: In file included from /var/home/phil/WebKit/WebKitBuild/GTK/Release/WebCore/PrivateHeaders/WebCore/Timer.h:34: /var/home/phil/WebKit/WebKitBuild/GTK/Release/WTF/Headers/wtf/RunLoop.h:211:27: error: static assertion failed due to requirement 'IsDeprecatedTimerSmartPointerException<WebKit::DropTarget>::value': Classes that use Timer should be ref-counted or CanMakeCheckedPtr. Please do not add new exceptions. 211 | static_assert(IsDeprecatedTimerSmartPointerException<std::remove_cv_t<TimerFiredClass>>::value, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/home/phil/WebKit/Source/WebKit/UIProcess/API/gtk/DropTargetGtk3.cpp:47:7: note: in instantiation of function template specialization 'WTF::RunLoop::Timer::Timer<WebKit::DropTarget>' requested here 47 | , m_leaveTimer(RunLoop::main(), this, &DropTarget::leaveTimerFired) | ^ 1 error generated.
Attachments
Philippe Normand
Comment 1 2024-11-08 02:37:34 PST
Philippe Normand
Comment 2 2024-11-08 03:05:32 PST
*** This bug has been marked as a duplicate of bug 282824 ***
Note You need to log in before you can comment on or make changes to this bug.