aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4objectproto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4objectproto.cpp')
-rw-r--r--src/qml/jsruntime/qv4objectproto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4objectproto.cpp b/src/qml/jsruntime/qv4objectproto.cpp
index 75954111c4..e977c748fc 100644
--- a/src/qml/jsruntime/qv4objectproto.cpp
+++ b/src/qml/jsruntime/qv4objectproto.cpp
@@ -448,7 +448,7 @@ ReturnedValue ObjectPrototype::method_isPrototypeOf(CallContext *ctx)
return Encode::undefined();
Scoped<Object> proto(scope, V->prototype());
while (proto) {
- if (O.getPointer() == proto.getPointer())
+ if (O->d() == proto->d())
return Encode(true);
proto = proto->prototype();
}