Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Unified Diff: tracing/tracing/ui/analysis/single_object_snapshot_sub_view.html

Issue 1923953003: [polymer] Switches .appendChild() to Polymer.dom()...appendChild() (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698