diff options
author | Andreas Kling <kling@serenityos.org> | 2020-07-28 17:21:23 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-28 18:55:47 +0200 |
commit | 8b55d3d86eb304389fa2557525d13aa4538d81c9 (patch) | |
tree | f54a6ff13945517d389c555ce5a32a079d20124d /Libraries/LibWeb/Bindings | |
parent | c99a3efc5bacbcd38a0da0ed25df53bfe9a4a7bc (diff) | |
download | serenity-8b55d3d86eb304389fa2557525d13aa4538d81c9.zip |
LibWeb: Move MouseEvent into the UIEvents namespace
Named after the UIEvents specification that houses MouseEvent.
Diffstat (limited to 'Libraries/LibWeb/Bindings')
-rw-r--r-- | Libraries/LibWeb/Bindings/EventWrapperFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Bindings/EventWrapperFactory.cpp b/Libraries/LibWeb/Bindings/EventWrapperFactory.cpp index cb0db37954..88f4d900fb 100644 --- a/Libraries/LibWeb/Bindings/EventWrapperFactory.cpp +++ b/Libraries/LibWeb/Bindings/EventWrapperFactory.cpp @@ -33,7 +33,7 @@ namespace Bindings { EventWrapper* wrap(JS::GlobalObject& global_object, DOM::Event& event) { if (event.is_mouse_event()) - return static_cast<MouseEventWrapper*>(wrap_impl(global_object, static_cast<DOM::MouseEvent&>(event))); + return static_cast<MouseEventWrapper*>(wrap_impl(global_object, static_cast<UIEvents::MouseEvent&>(event))); return static_cast<EventWrapper*>(wrap_impl(global_object, event)); } |