| Index: sky/engine/core/events/Event.h
|
| diff --git a/sky/engine/core/events/Event.h b/sky/engine/core/events/Event.h
|
| index bc36d4b767aa3910302699f87a1237aef921d1ed..931919c33354e570b7a07a57e9997b0606256453 100644
|
| --- a/sky/engine/core/events/Event.h
|
| +++ b/sky/engine/core/events/Event.h
|
| @@ -38,12 +38,11 @@ class EventDispatcher;
|
| class ExecutionContext;
|
|
|
| struct EventInit {
|
| - STACK_ALLOCATED();
|
| -public:
|
| - EventInit();
|
| + bool bubbles = false;
|
| + bool cancelable = false;
|
|
|
| - bool bubbles;
|
| - bool cancelable;
|
| +private:
|
| + STACK_ALLOCATED();
|
| };
|
|
|
| class Event : public RefCounted<Event>, public ScriptWrappable {
|
|
|