Title: [292036] trunk/Source/WebCore
- Revision
- 292036
- Author
- [email protected]
- Date
- 2022-03-29 10:21:17 -0700 (Tue, 29 Mar 2022)
Log Message
Need to add ISO annotations to GPUUncapturedErrorEvent
https://bugs.webkit.org/show_bug.cgi?id=238512
Reviewed by Yusuke Suzuki.
ISO annotations are required in GPUUncapturedErrorEvent for proper initialization.
* Modules/WebGPU/GPUUncapturedErrorEvent.cpp:
* Modules/WebGPU/GPUUncapturedErrorEvent.h:
(WebCore::GPUUncapturedErrorEvent::create): Deleted.
(WebCore::GPUUncapturedErrorEvent::backing): Deleted.
(WebCore::GPUUncapturedErrorEvent::backing const): Deleted.
(WebCore::GPUUncapturedErrorEvent::GPUUncapturedErrorEvent): Deleted.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (292035 => 292036)
--- trunk/Source/WebCore/ChangeLog 2022-03-29 17:05:11 UTC (rev 292035)
+++ trunk/Source/WebCore/ChangeLog 2022-03-29 17:21:17 UTC (rev 292036)
@@ -1,3 +1,19 @@
+2022-03-29 Brandon Stewart <[email protected]>
+
+ Need to add ISO annotations to GPUUncapturedErrorEvent
+ https://bugs.webkit.org/show_bug.cgi?id=238512
+
+ Reviewed by Yusuke Suzuki.
+
+ ISO annotations are required in GPUUncapturedErrorEvent for proper initialization.
+
+ * Modules/WebGPU/GPUUncapturedErrorEvent.cpp:
+ * Modules/WebGPU/GPUUncapturedErrorEvent.h:
+ (WebCore::GPUUncapturedErrorEvent::create): Deleted.
+ (WebCore::GPUUncapturedErrorEvent::backing): Deleted.
+ (WebCore::GPUUncapturedErrorEvent::backing const): Deleted.
+ (WebCore::GPUUncapturedErrorEvent::GPUUncapturedErrorEvent): Deleted.
+
2022-03-28 Simon Fraser <[email protected]>
[iOS GPUProcess] Image decoding should not trigger IOSurface usage in the web process
Modified: trunk/Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.cpp (292035 => 292036)
--- trunk/Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.cpp 2022-03-29 17:05:11 UTC (rev 292035)
+++ trunk/Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.cpp 2022-03-29 17:21:17 UTC (rev 292036)
@@ -26,8 +26,12 @@
#include "config.h"
#include "GPUUncapturedErrorEvent.h"
+#include <wtf/IsoMallocInlines.h>
+
namespace WebCore {
+WTF_MAKE_ISO_ALLOCATED_IMPL(GPUUncapturedErrorEvent);
+
GPUError GPUUncapturedErrorEvent::error() const
{
if (!m_backing)
Modified: trunk/Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.h (292035 => 292036)
--- trunk/Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.h 2022-03-29 17:05:11 UTC (rev 292035)
+++ trunk/Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.h 2022-03-29 17:21:17 UTC (rev 292036)
@@ -35,7 +35,8 @@
namespace WebCore {
-class GPUUncapturedErrorEvent : public Event {
+class GPUUncapturedErrorEvent final : public Event {
+ WTF_MAKE_ISO_ALLOCATED(GPUUncapturedErrorEvent);
public:
static Ref<GPUUncapturedErrorEvent> create(String&& type, const GPUUncapturedErrorEventInit& gpuUncapturedErrorEventInitDict)
{
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes