⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 292036 in webkit


Ignore:
Timestamp:
Mar 29, 2022, 10:21:17 AM (5 years ago)
Author:
Brandon
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.

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r292035 r292036  
     12022-03-29  Brandon Stewart  <brandonstewart@apple.com>
     2
     3        Need to add ISO annotations to GPUUncapturedErrorEvent
     4        https://bugs.webkit.org/show_bug.cgi?id=238512
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        ISO annotations are required in GPUUncapturedErrorEvent for proper initialization.
     9
     10        * Modules/WebGPU/GPUUncapturedErrorEvent.cpp:
     11        * Modules/WebGPU/GPUUncapturedErrorEvent.h:
     12        (WebCore::GPUUncapturedErrorEvent::create): Deleted.
     13        (WebCore::GPUUncapturedErrorEvent::backing): Deleted.
     14        (WebCore::GPUUncapturedErrorEvent::backing const): Deleted.
     15        (WebCore::GPUUncapturedErrorEvent::GPUUncapturedErrorEvent): Deleted.
     16
    1172022-03-28  Simon Fraser  <simon.fraser@apple.com>
    218
  • trunk/Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.cpp

    r285429 r292036  
    2727#include "GPUUncapturedErrorEvent.h"
    2828
     29#include <wtf/IsoMallocInlines.h>
     30
    2931namespace WebCore {
     32
     33WTF_MAKE_ISO_ALLOCATED_IMPL(GPUUncapturedErrorEvent);
    3034
    3135GPUError GPUUncapturedErrorEvent::error() const
  • trunk/Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.h

    r285429 r292036  
    3636namespace WebCore {
    3737
    38 class GPUUncapturedErrorEvent : public Event {
     38class GPUUncapturedErrorEvent final : public Event {
     39    WTF_MAKE_ISO_ALLOCATED(GPUUncapturedErrorEvent);
    3940public:
    4041    static Ref<GPUUncapturedErrorEvent> create(String&& type, const GPUUncapturedErrorEventInit& gpuUncapturedErrorEventInitDict)
Note: See TracChangeset for help on using the changeset viewer.