aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/v8/qv8include.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-05-07 09:54:05 +0200
committerLars Knoll <lars.knoll@digia.com>2013-05-07 12:25:38 +0200
commit1abed74e211585ef9d8aab46ab924a212860c5fe (patch)
tree7c93d691dab64ff6cedf8f8b073878f5e78dcbdd /src/qml/qml/v8/qv8include.cpp
parente855f1387badcbf88954b8707c1dc418cc66c215 (diff)
Replace v8::Undefined() with QV4::Value::undefinedValue()
Change-Id: I4c7bb5bcc1bc15a982bb83d2597e6ae4bc5710cd Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/v8/qv8include.cpp')
-rw-r--r--src/qml/qml/v8/qv8include.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/v8/qv8include.cpp b/src/qml/qml/v8/qv8include.cpp
index f37ed73ee5..92e262157b 100644
--- a/src/qml/qml/v8/qv8include.cpp
+++ b/src/qml/qml/v8/qv8include.cpp
@@ -170,7 +170,7 @@ void QV8Include::finished()
v8::Handle<v8::Value> QV8Include::include(const v8::Arguments &args)
{
if (args.Length() == 0)
- return v8::Undefined();
+ return QV4::Value::undefinedValue();
QV8Engine *engine = V8ENGINE();
QQmlContextData *context = engine->callingContext();
@@ -235,7 +235,7 @@ v8::Handle<v8::Value> QV8Include::include(const v8::Arguments &args)
}
if (result.IsEmpty())
- return v8::Undefined();
+ return QV4::Value::undefinedValue();
else
return result;
}