merge with master
[platform/framework/web/wrt-plugins-common.git] / src / js-overlay / js_overlay_functions.cpp
index 69b1263..8097d20 100644 (file)
@@ -25,7 +25,6 @@
 #include <js_overlay_functions.h>
 
 namespace JSCFunctions {
-
 std::string ConvertJSStringToStdString(JSStringRef value)
 {
     int nSize = JSStringGetLength(value) + 1;
@@ -60,19 +59,19 @@ JSValueRef JavaScriptPrintProc(JSContextRef context,
 }
 
 JSValueRef JavaScriptHookProc(
-        JSContextRef context,
-        JSObjectRef /*object*/,
-        JSObjectRef /*thisObject*/,
-        size_t argumentCount,
-        const JSValueRef arguments[],
-        JSValueRef* exception)
+    JSContextRef context,
+    JSObjectRef /*object*/,
+    JSObjectRef /*thisObject*/,
+    size_t argumentCount,
+    const JSValueRef arguments[],
+    JSValueRef* exception)
 {
     bool inError = false;
     if (argumentCount < 2 ||
         argumentCount > 3 ||
         !JSValueIsString(context, arguments[0]) ||
-        !JSValueIsString(context, arguments[1])) {
-
+        !JSValueIsString(context, arguments[1]))
+    {
         inError = true;
     }