[Webkit-unassigned] [Bug 280214] Debug assertion on https://www.browserbench.org/MotionMark1.3.1/developer.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 24 15:47:22 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=280214

--- Comment #2 from Nikolas Zimmermann <zimmermann at kde.org> ---
This fixes the assertion for me:

diff --git a/Source/WebCore/platform/graphics/controls/ControlPart.h b/Source/WebCore/platform/graphics/controls/ControlPart.h
index 8aa1fd401bbe..ec931ea345aa 100644
--- a/Source/WebCore/platform/graphics/controls/ControlPart.h
+++ b/Source/WebCore/platform/graphics/controls/ControlPart.h
@@ -29,7 +29,7 @@
 #include "ControlFactory.h"
 #include "PlatformControl.h"
 #include "StyleAppearance.h"
-#include <wtf/RefCounted.h>
+#include <wtf/ThreadSafeRefCounted.h>

 namespace WebCore {

@@ -37,7 +37,7 @@ class FloatRect;
 class GraphicsContext;
 class ControlFactory;

-class ControlPart : public RefCounted<ControlPart> {
+class ControlPart : public ThreadSafeRefCounted<ControlPart> {
 public:
     virtual ~ControlPart() = default;

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240924/fcb23570/attachment.htm>


More information about the webkit-unassigned mailing list