Skip to content

Commit

Permalink
Committing clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
openkraken-bot committed Jan 19, 2022
1 parent 4625c6c commit eb39e4b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bridge/bindings/qjs/bom/window.cc
Expand Up @@ -68,10 +68,7 @@ JSValue Window::postMessage(JSContext* ctx, JSValue this_val, int argc, JSValue*
JS_SetPropertyStr(ctx, messageEventInitValue, "origin", JS_DupValue(ctx, originValue));

JSValue messageType = JS_NewString(ctx, "message");
JSValue arguments[] = {
messageType,
messageEventInitValue
};
JSValue arguments[] = {messageType, messageEventInitValue};

JSValue messageEventValue = JS_CallConstructor(ctx, MessageEvent::instance(window->m_context)->jsObject, 2, arguments);
auto* event = static_cast<MessageEventInstance*>(JS_GetOpaque(messageEventValue, Event::kEventClassID));
Expand Down

0 comments on commit eb39e4b

Please sign in to comment.