Commit 2ec7f0b4 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Share the debug object references.

parent 6559ec7d
......@@ -336,9 +336,12 @@ void Delta::operator()(Document::Ptr doc, Document::Ptr previousDoc)
_changes.clear();
const QUrl url = QUrl::fromLocalFile(doc->fileName());
ScriptBindingParser bindingParser(doc, ClientProxy::instance()->objectReferences(url));
const QList<QDeclarativeDebugObjectReference> references = ClientProxy::instance()->objectReferences(url);
ScriptBindingParser bindingParser(doc, references);
bindingParser.process();
ScriptBindingParser previousBindingParser(previousDoc, ClientProxy::instance()->objectReferences(url));
ScriptBindingParser previousBindingParser(previousDoc, references);
previousBindingParser.process();
QHash<UiObjectMember *, UiObjectMember *> preservedObjects;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment