wrt-plugins-tizen_0.4.23
[framework/web/wrt-plugins-tizen.git] / src / Common / JSArray.cpp
index 3e60e9b..cd386da 100755 (executable)
@@ -28,7 +28,7 @@ size_t JSArrayBase::size() const {
 }
 
 void JSArrayBase::resize(size_t size){
-    JSUtil::setProperty(mContext, mArray, "length", JSUtil::toJSValueRef(mContext, static_cast<double>(size)), NULL, NULL);
+    JSUtil::setProperty(mContext, mArray, "length", JSUtil::toJSValueRef(mContext, static_cast<double>(size)), kJSPropertyAttributeNone, NULL);
 }
 
 JSValueRef JSArrayBase::get(int index) const{