Index: tracing/tracing/ui/analysis/single_object_snapshot_sub_view.html |
diff --git a/tracing/tracing/ui/analysis/single_object_snapshot_sub_view.html b/tracing/tracing/ui/analysis/single_object_snapshot_sub_view.html |
index cb1e0fc4b945d0875990d766325f07a2e9511912..b2809bbbfe9298e710bc4323090f10ac6c0c157b 100644 |
--- a/tracing/tracing/ui/analysis/single_object_snapshot_sub_view.html |
+++ b/tracing/tracing/ui/analysis/single_object_snapshot_sub_view.html |
@@ -97,16 +97,16 @@ Polymer({ |
var titleEl = document.createElement('div'); |
titleEl.classList.add('title'); |
- titleEl.appendChild(document.createTextNode('Snapshot of ')); |
+ Polymer.dom(titleEl).appendChild(document.createTextNode('Snapshot of ')); |
Polymer.dom(this).appendChild(titleEl); |
var instanceLinkEl = document.createElement('tr-ui-a-analysis-link'); |
instanceLinkEl.selection = new tr.model.EventSet(instance); |
- titleEl.appendChild(instanceLinkEl); |
+ Polymer.dom(titleEl).appendChild(instanceLinkEl); |
- titleEl.appendChild(document.createTextNode(' @ ')); |
+ Polymer.dom(titleEl).appendChild(document.createTextNode(' @ ')); |
- titleEl.appendChild(tr.v.ui.createScalarSpan(snapshot.ts, { |
+ Polymer.dom(titleEl).appendChild(tr.v.ui.createScalarSpan(snapshot.ts, { |
unit: tr.v.Unit.byName.timeStampInMs, |
ownerDocument: this.ownerDocument |
})); |
@@ -115,19 +115,19 @@ Polymer({ |
Polymer.dom(this).appendChild(tableEl); |
var rowEl = document.createElement('tr'); |
- tableEl.appendChild(rowEl); |
+ Polymer.dom(tableEl).appendChild(rowEl); |
var labelEl = document.createElement('td'); |
labelEl.textContent = 'args:'; |
- rowEl.appendChild(labelEl); |
+ Polymer.dom(rowEl).appendChild(labelEl); |
var argsEl = document.createElement('td'); |
argsEl.id = 'args'; |
- rowEl.appendChild(argsEl); |
+ Polymer.dom(rowEl).appendChild(argsEl); |
var objectViewEl = document.createElement('tr-ui-a-generic-object-view'); |
objectViewEl.object = snapshot.args; |
- argsEl.appendChild(objectViewEl); |
+ Polymer.dom(rgsEl).appendChild(objectViewEl); |
} |
}); |
</script> |