Update wrt-plugins-common_0.3.60
[platform/framework/web/wrt-plugins-common.git] / src / standards / W3C / Widget / JSWidget.cpp
index 3f3f8c3..fdb70ba 100644 (file)
@@ -134,10 +134,7 @@ WrtDeviceApis::Widget::Api::IWidgetPtr getIWidget(JSObjectRef arg)
 
 LocalStorage::Api::ILocalStoragePtr getLocalStorage(int widgetId)
 {
-    static int id = widgetId;
-    Assert(id == widgetId && "SPA is not longer supported");
-
-    static LocalStorage::Api::ILocalStoragePtr storage(
+    LocalStorage::Api::ILocalStoragePtr storage(
         LocalStorage::Api::getLocalStorage(widgetId));
 
     return storage;