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

Unified Diff: tracing/tracing/ui/base/container_that_decorates_its_children.html

Issue 2158403004: [polymer] Revert bad Polymer.dom of HTMLDivElement.prototype.appendChild (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/container_that_decorates_its_children.html
diff --git a/tracing/tracing/ui/base/container_that_decorates_its_children.html b/tracing/tracing/ui/base/container_that_decorates_its_children.html
index 174fe83de11f3ffa49a8077e3c963ad966ec0506..db8455065597807be5f0986f0b5cf3ac167a5bbd 100644
--- a/tracing/tracing/ui/base/container_that_decorates_its_children.html
+++ b/tracing/tracing/ui/base/container_that_decorates_its_children.html
@@ -35,22 +35,22 @@ tr.exportTo('tr.ui.b', function() {
},
appendChild: function(x) {
- Polymer.dom(HTMLDivElement.prototype).appendChild.call(this, x);
+ HTMLDivElement.prototype.appendChild.call(this, x);
this.didMutate_(this.observer_.takeRecords());
},
insertBefore: function(x, y) {
- Polymer.dom(HTMLDivElement.prototype).insertBefore.call(this, x, y);
+ HTMLDivElement.prototype.insertBefore.call(this, x, y);
this.didMutate_(this.observer_.takeRecords());
},
removeChild: function(x) {
- Polymer.dom(HTMLDivElement.prototype).removeChild.call(this, x);
+ HTMLDivElement.prototype.removeChild.call(this, x);
this.didMutate_(this.observer_.takeRecords());
},
replaceChild: function(x, y) {
- Polymer.dom(HTMLDivElement.prototype).replaceChild.call(this, x, y);
+ HTMLDivElement.prototype.replaceChild.call(this, x, y);
this.didMutate_(this.observer_.takeRecords());
},
@@ -62,7 +62,7 @@ tr.exportTo('tr.ui.b', function() {
clear: function() {
while (Polymer.dom(this).lastChild)
- Polymer.dom(HTMLDivElement.prototype).removeChild.call(
+ HTMLDivElement.prototype.removeChild.call(
this, Polymer.dom(this).lastChild);
this.didMutate_(this.observer_.takeRecords());
},
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698