summaryrefslogtreecommitdiffstats
path: root/src/script/api/qscriptvalue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api/qscriptvalue.cpp')
-rw-r--r--src/script/api/qscriptvalue.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/script/api/qscriptvalue.cpp b/src/script/api/qscriptvalue.cpp
index 3bf976b..7c8bd56 100644
--- a/src/script/api/qscriptvalue.cpp
+++ b/src/script/api/qscriptvalue.cpp
@@ -333,17 +333,6 @@ void QScriptValuePrivate::initFrom(const QString &value)
stringValue = value;
}
-void QScriptValuePrivate::initFromJSCValue(QScriptValue &result,
- QScriptEngine *engine,
- JSC::JSValue value)
-{
- Q_ASSERT(!result.isValid());
- result.d_ptr = new QScriptValuePrivate();
- result.d_ptr->engine = engine;
- result.d_ptr->initFrom(value);
- result.d_ptr->ref.ref();
-}
-
bool QScriptValuePrivate::isJSC() const
{
return (type == JSC);