projects
/
platform
/
upstream
/
qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4992a89
)
Fix prototype chain in XHR
author
Simon Hausmann
<simon.hausmann@digia.com>
Wed, 12 Jun 2013 08:41:07 +0000
(10:41 +0200)
committer
Lars Knoll
<lars.knoll@digia.com>
Wed, 12 Jun 2013 08:50:30 +0000
(10:50 +0200)
Fix variable typo that caused Node::prototype to always return a null value.
Change-Id: I453685952a870c7b7ba4607a151d5b7834f553b9
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/qqmlxmlhttprequest.cpp
patch
|
blob
|
history
diff --git
a/src/qml/qml/qqmlxmlhttprequest.cpp
b/src/qml/qml/qqmlxmlhttprequest.cpp
index
597c12d
..
20fda84
100644
(file)
--- a/
src/qml/qml/qqmlxmlhttprequest.cpp
+++ b/
src/qml/qml/qqmlxmlhttprequest.cpp
@@
-514,7
+514,7
@@
v8::Handle<v8::Object> Node::prototype(QV8Engine *engine)
0, v8::External::New(engine));
p->SetAccessor(v8::String::New("attributes"), attributes,
0, v8::External::New(engine));
- d->node
List
Prototype = p->v4Value();
+ d->nodePrototype = p->v4Value();
engine->freezeObject(d->nodePrototype);
}
return d->nodePrototype.value();