Bug 282822
Summary: | [GTK3] Build broken in DropTarget implementation | ||
---|---|---|---|
Product: | WebKit | Reporter: | Philippe Normand <philn> |
Component: | WebKitGTK | Assignee: | Philippe Normand <philn> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | bugs-noreply |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Philippe Normand
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Philippe Normand
Pull request: https://github.com/WebKit/WebKit/pull/36385
Philippe Normand
*** This bug has been marked as a duplicate of bug 282824 ***