Remove use of a global variable for JSContext on WidgetInterface plugin
[framework/web/wrt-plugins-common.git] / src / standards / W3C / Widget / plugin_initializer.cpp
index d296869..10cdea6 100644 (file)
@@ -44,7 +44,7 @@ class_definition_options_t WidgetOptions = {
     JS_CLASS,
     CREATE_INSTANCE,
     NONE_NOTICE,
-    USE_OVERLAYED, //ignored
+    IGNORED,
     NULL,
     NULL,
     NULL
@@ -53,9 +53,9 @@ class_definition_options_t WidgetOptions = {
 class_definition_options_t WidgetInterfaceOptions = {
     JS_INTERFACE,
     CREATE_INSTANCE,
-    ALWAYS_NOTICE,
-    USE_OVERLAYED, //ignored
-    JSWidget::acquireGlobalContext,
+    NONE_NOTICE,
+    IGNORED, //ignored
+    NULL,
     NULL,
     NULL
 };