From 35e4fab209a37bfd50985ce3796a9e2d29e776e5 Mon Sep 17 00:00:00 2001 From: openkraken-bot Date: Fri, 10 Dec 2021 04:13:43 +0000 Subject: [PATCH] Committing clang-format changes --- bridge/bindings/qjs/bom/performance.h | 1 - bridge/bindings/qjs/js_context_macros.h | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/bridge/bindings/qjs/bom/performance.h b/bridge/bindings/qjs/bom/performance.h index e2c8b4812e..ccba2050e9 100644 --- a/bridge/bindings/qjs/bom/performance.h +++ b/bridge/bindings/qjs/bom/performance.h @@ -217,7 +217,6 @@ class Performance : public HostObject { DEFINE_FUNCTION(mark, 1); DEFINE_FUNCTION(measure, 4); - #if ENABLE_PROFILE DEFINE_FUNCTION(__kraken_navigation_summary__, 0) #endif diff --git a/bridge/bindings/qjs/js_context_macros.h b/bridge/bindings/qjs/js_context_macros.h index e7fb9731e7..703f672f78 100644 --- a/bridge/bindings/qjs/js_context_macros.h +++ b/bridge/bindings/qjs/js_context_macros.h @@ -31,11 +31,10 @@ ObjectProperty __##PROPERTY##__ { m_context, m_prototypeObject, #PROPERTY, PROPERTY##PropertyDescriptor::getter } #define DEFINE_PROTOTYPE_FUNCTION(PROPERTY, ARGS_COUNT) \ - ObjectFunction __##PROPERTY##__{ m_context, m_prototypeObject, #PROPERTY, PROPERTY, ARGS_COUNT } + ObjectFunction __##PROPERTY##__ { m_context, m_prototypeObject, #PROPERTY, PROPERTY, ARGS_COUNT } #define DEFINE_FUNCTION(PROPERTY, ARGS_COUNT) \ - ObjectFunction __##PROPERTY##__{ m_context, jsObject, #PROPERTY, PROPERTY, ARGS_COUNT } - + ObjectFunction __##PROPERTY##__ { m_context, jsObject, #PROPERTY, PROPERTY, ARGS_COUNT } #define DEFINE_PROTOTYPE_PROPERTY(PROPERTY) \ class PROPERTY##PropertyDescriptor { \